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()
{
};
using var pngStream = new FileStream(imgFile, FileMode.Create);
// Convert page to PNG image
pngDevice.Process(document.Pages[1], pngStream);
I have a message say System.Drawin is window-only
But your a create Apsose.Drawing , but is not use in AposePDF.NET ?