2 / 5
Feb 2023

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

  • created

    Feb '23
  • last reply

    Aug '24
  • 4

    replies

  • 452

    views

  • 3

    users

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

3 months later
1 year later

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.

© Aspose Pty Ltd 2001-2025. All Rights Reserved.