PDF page is blank when converted to PNG

Hi Team,

when we convert attached PDF to PNG, the result is blanc (see attached).

Reproduced with version 11.4.0

Code used to reproduce:

// Open the input file
Document objDoc = new Document("path_to_input_file");

// Set resolution
Resolution objResolution = new Resolution(300, 300);

// Create a PNG device
PngDevice objDevice = new PngDevice(objResolution);

// Extract the page
using (FileStream objImageStream = new FileStream(objParser.OutputFile, FileMode.Create))
{
    objDevice.Process(objDoc.Pages[1], objImageStream);
    // Close the stream
    objImageStream.Close();
}

Thanks,

Christophe

Hi Christophe,

Thanks for your inquiry. I have tested your scenario with shared document using Aspose.Pdf for .NET 11.9.0 and managed to observe the reported issue. For further investigation, I have logged an issue in our issue tracking system as PDFNET-41357 and also linked your request to it. We will keep you updated via this thread regarding the issue status.

We are sorry for the inconvenience caused.