Frequently Asked Question:
Support for PDF to TIFF conversion?
Does this PDF library support the conversion of PDF files to TIFF images? if so, do you have any sample code for this task?
Converting a PDF file to a TIFF image can be easily done using the RenderPageToFile function. I've included some basic sample code below that demonstrates just how simple it is:
// Load the PDF that you want to convert
QP.LoadFromFile("source.pdf");
// Render the specified page to a TIFF image
QP.RenderPageToFile(96, 1, 7, "image.tiff");
Yep, like I said, pretty simple. If you wanted to convert each page in the PDF to a TIFF image then you would simply use the PageCount function to get the total number of pages in the PDF and then you would loop through each page rendering it to a TIFF image.