ConvertPdfPagetoImage

How to convert Pdf File Page to Image?

For above requirement we are using the below logic.

PdfConverter converter = new PdfConverter();

converter.BindPdf(InputFileStream);
converter.DoConvert();
while (converter.HasNextImage())
{
using (MemoryStream msOutPutImage = new MemoryStream())
{
converter.GetNextImage(msOutPutImage, System.Drawing.Imaging.ImageFormat.Jpeg);
}
}
This is working fine for small pdf file not for big.
When ever we use big pdf files(100 and above pages) the application becomes slower.
Please guide us the best way to convert pdf file page to image.

Regards,
Srinivas

Hi Sanjeev,

We have tested the component for larger files and it worked fine; however, sometimes there might be some issue caused due to the particular content or structure of the PDF file. Could you please share a sample problematic PDF file with us, so we could test the issue at our end? You’ll be updated with the results accordingly.

We’re sorry for the inconvenience.
Regards,