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