pq scan
Answer:
Hi, Lambert.
We are glad to tell you, pqScan .net PDF to image SDK can convert any type of page layout PDF document to image files, which including jpeg/jpg, png, tiff/tif, bmp and gif.
The .net PDF converter is able to convert all kinds of page size PDF document to images, such as commonly used A4, A3, Letter, or more special Foolscap, RoyalQuarto mode. Besides, the landscape and portrait page layout mode are both supported. Our PDF converting library will render the output image graphics depending on the original PDF page content and size. So the PDF page is large, the image graphs is large, too. And if you don't want to keep the original PDF page size into the image, you can also call the "ToImage(int pageIndex, int width, int height)" method to change to output image with customized size.
Here we provide some C# sample code to convert PDF with specific page size to images. You can copy the code to your PDF converting method in your .net application.
PDFDocument doc = new PDFDocument();
doc.LoadPDF("special-page-size.pdf");
Bitmap bmp = doc.ToImage(0);
bmp.Save("output.jpg");
Hope the C# code can be helpful.
---- pqScan Support Team