@kenable811
This occurs because from .Net 6 System.Drawing.Common is not supported on non-Windows platform (on Linux in particular).
Use the Aspose.Pdf.Drawing library (instead of Aspose.Pdf). This library uses Aspose.Drawing instead of System.Drawing.Common. Its main limitation is that api printing is not supported at the moment.
Also, when using it, there is no need to use the gdiplus package.
@kenable811
You should remove the reference to Aspose.Pdf and use Aspose.Pdf.Drawing instead.
The easiest way to work with nuget packages. remove Pdf.png (17.0 KB) add Pdf.Drawing.png (46.0 KB)
@kenable811
Aspose.Pdf.Drawing uses the same API as Aspose.Pdf.
It differs from Aspose.Pdf in that it uses Aspose.Drawing instead of System.Drawing.Common