Pdf to png some text not being rendered

Hello,

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

@ThomasNk,

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.

@ThomasNk
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.

The issues you have found earlier (filed as PDFNET-48882) have been fixed in Aspose.PDF for .NET 23.5.

The issues you have found earlier (filed as PDFNET-53767) have been fixed in Aspose.PDF for .NET 24.8.