Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, November 22, 2006 1:20:00 AM(UTC)

Pawan  
Pawan

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 24 time(s).
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, November 22, 2006 4:26:12 AM(UTC)

Bashar  
Guest

Groups: Guests
Posts: 3,034

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)

Pawan  
Pawan

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)

Bashar  
Guest

Groups: Guests
Posts: 3,034

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.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.215 seconds.