Hi,
I have a problem converting a PDF filo into images. When I convert the first page of the PDF to image, the process works correctly, but from the second page, all images created by the process are white images.
What could be causing the error? The PDF is displayed correctly so you do not seem to be corrupt ...
Here's the code I use to do the conversion:
PdfConverter converter = new PdfConverter();
converter.BindPdf(filePath);
converter.DoConvert();
try
{
while (converter.HasNextImage())
{
string imagePath = Path.Combine(dir, fileName + "OriginalSize_" + pageCount.ToString() + ".jpg");
converter.GetNextImage(imagePath, ImageFormat.Jpeg);
pageCount++;
}
}
catch (Exception ex)
{
}
thanks in advance