This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, September 20, 2011 10:27:05 AM(UTC)
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
#2
Posted
:
Thursday, September 22, 2011 5:33:14 AM(UTC)
Groups: Guests
Posts: 3,022
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.