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