Click here to Skip to main content
15,896,154 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, anyone knows any free library to convert PDF into TIFF files?
or how do it programatically?
im found abcPDF.dll to do that and works fine but is a licensed library
im looking for a free solution.
Thanks in advance
Juan
Posted

Have a look here[^].
 
Share this answer
 
Great thnaks a lot!
i modified a bit the code to allow render full color images. and this is the code

Doc theDoc = new Doc();

theDoc.Read(@"C:\TestFiles\" + String.Format("{0}-{1}.pdf", name, idx + 1));
// set up the rendering parameters
theDoc.Rendering.ColorSpace = "Color";
theDoc.Rendering.BitsPerChannel = 8;
theDoc.Rendering.DotsPerInchX = 200;
theDoc.Rendering.DotsPerInchY = 400;
// loop through the pages
int n = theDoc.PageCount;
for (int i = 1; i <= n; i++)
{
theDoc.PageNumber = i;
theDoc.Rect.String = theDoc.CropBox.String;
theDoc.Rendering.SaveAppend = (i != 1);
//theDoc.Rendering.SaveCompression = XRendering.Compression.G4;
theDoc.SetInfo(0, "ImageCompression", "4");
theDoc.Rendering.Save(@"C:\TestFiles\" + String.Format("{0}-{1}.tif", name, idx + 1));
}
theDoc.Clear();
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900