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

Free Support Forum - aspose.com

Pdf to png some text not being rendered


We’ve encountered an issue while converting a pdf file to a png file as some text parts are not being rendered in the image output.
Please find attached the pdf file used as well as the code snippet (tested with Aspose.PDF 23.2.0) :

M007317964.pdf (379.0 KB)

var file = @“c:\temp\M007317964.pdf”;
var document = new Document(file);
var device = new PngDevice(new Resolution(300));

foreach (var page in document.Pages)
string outputFile = $“c:\temp\M007317964_page{page.Number}.png”;
device.Process(page, outputFile);

Best regards


This is very strange. I am using the same version you do but when processing the PDF you gave me I get an exception. Let me keep reviewing this.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-53767

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.