The exception was raies when loading a Libre Office Drawing (.odg) into an Aspose image.
The Drawing is a Visio Drawing loaded into Libre Office and saved as ODF Drawing.
The code:
OdgRasterizationOptions rasterizationOptions = new OdgRasterizationOptions();
Image image = Image.Load(“C:\temp\Store-Schema.odg”);
rasterizationOptions.PageSize = image.Size;
PdfOptions options = new PdfOptions() { VectorRasterizationOptions = rasterizationOptions };
image.Save(pdfFileName, options);
I added the Drawing to the note.
Store-Schema.zip (27.6 KB)