Incorrect converting PDF to Jpeg using Aspose.PDF

Hi,

After converting PDF to Jpeg we have incorrect result (there are black spots on whole picture). We use Aspose.PDF 21.11.

Please see attached files:
PdfToJpeg.pdf (609.1 KB)
PdfToJpeg_output.jpeg (614.1 KB)

The code we use:

Document doc = new Document($“C:/test/PdfToJpeg.pdf”);
JpegDevice device = new JpegDevice();
using (FileStream imageStream = new FileStream($“C:/test/PdfToJpeg_output.jpeg”, FileMode.Create))
{
device.Process(doc.Pages[1], imageStream);
imageStream.Close();
}

This happens not with every PDFs, only with attached file. Is there any way to fix this?
Thanks for your help.

@apkarpunin

We have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as PDFNET- 51409. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.