We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Bug: PDF is not rendered correctly to image

The attached PDF is nog correctly rendered to an image.
I tested with Aspose.Pdf

Code I used:

var resolution = new Resolution(150);
var pngDevice = new PngDevice(resolution);
var doc = new Document(source);
var pageCount = doc.Pages.Count;
for (var i = 0; i < pageCount; i++)
using (var imageStream = new FileStream(outputPath + “_” + i + “.png”, FileMode.Create))
pngDevice.Process(doc.Pages[i + 1], imageStream);

Can you please take a look?

Thanks, Corne

Hi Corne,

We are sorry for the inconvenience caused. While testing the scenario with the latest version of Aspose.Pdf for Java 9.4.0, we have managed to reproduce the reported issue and logged it in our bug tracking system as PDFNEWNET-37197 for further investigation and resolution. We will notify you via this thread as soon as it is resolved.

Please feel free to contact us for any further assistance.

Best Regards,

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan