I try to realize a Poc on linux , and when use this code
using var document = new Aspose.Pdf.Document(pdfFile);
var pngDevice = new Aspose.Pdf.Devices.JpegDevice()
{
};
…...Convert page to PNG image pngDevice.Process(document.Pages[1], pngStream);...