This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, November 22, 2006 1:20:00 AM(UTC)
Groups: Registered
Posts: 3
Hi..
I am using lead tools 14.5 RasterImageViewer for viewing the PDFfiles. I am using same method in your sample program or even in your sample program image quality is too poor.The method i am using is codecs.Load(FileName, 0, CodecsLoadByteOrder.BgrOrGray, firstPage, lastPage).....
The attached PDF looks very different in our viewer using your tool kit vs. the Adobe Acrobat Reader.
I am attaching Image file also.
Could you please help me in doing the correct setting to get good quality of image as ADOBE.
Thanks in advance
Pawan
File Attachment(s):
Doc.rar (2,166kb) downloaded 32 time(s).
#2
Posted
:
Wednesday, November 22, 2006 4:26:12 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Try loading the file with a higher DPI (e.g. 150). You can do
that by setting the Codecs.Options.Pdf.Load.XResolution and YResolution
properties to 150 or higher.
#3
Posted
:
Wednesday, November 22, 2006 9:44:16 PM(UTC)
Groups: Registered
Posts: 3
Thanks......
but when i am saveing that image after changed X and Y resolution 150 or higher. The Image memory size is more then 10 times of orignal image size. Following saving method i am using.
codecs.Save(viewer.Image, FileName,RasterImageFormat.RasPdfJpeg411 , 24, FirstPage, LastPage, SavePageNumber,Leadtools.Codecs.CodecsSavePageMode.Append)
#4
Posted
:
Thursday, November 23, 2006 12:44:53 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
This is normal because when you increase the loading resolution the image will be loaded with larger width and height which will make the image bigger in size.
Edit by moderator:
In the latest versions of LEADTOOLS, re-saving PDF can be done without loading it as raster. This means the PDF file can be re-compressed or optimized to possibly produce smaller files than the original.Edited by moderator Thursday, October 13, 2016 5:31:48 PM(UTC)
| Reason: Not specified
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.