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 : Tuesday, September 20, 2011 10:27:05 AM(UTC)

mdhanna  
mdhanna

Groups: Registered
Posts: 2


I am facing the same issue. What was the resolution on this one. I am using the following code to open and save pdf into tif

            srcImage = _Codecs.Load(Test.pdf)
            _Codecs.Save(srcImage, FileOutTIF, Leadtools.RasterImageFormat.Tif, 1, 1, 1, 1, Leadtools.Codecs.CodecsSavePageMode.Append)

Thanks
 

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 : Thursday, September 22, 2011 5:33:14 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,034

Was thanked: 2 time(s) in 2 post(s)

You can get better quality when opening the PDF file by increasing the PDF loading resolution before you call the RasterCodecs.Load(). To do that, add the following code to your project:
rasterCodecs.Options.Pdf.Load.XResolution = 200; //Or higher
rasterCodecs.Options.Pdf.Load.YResolution = 200; //Or higher
If you are using the latest LEADTOOLS v17.5 SDK, you should use the following:
rasterCodecs.Options.RasterizeDocument.Load.XResolution = 200;

rasterCodecs.Options.RasterizeDocument.Load.YResolution = 200;


 
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.094 seconds.