Hello, I have recently upgraded my .Net project from Core 3.1 to .Net 6, and my GroupDocs.Conversion version from 20.9.3 to 22.2. I also switched my OS from Windows to Linux, which meant I had to start including libgdiplus in my install
Both 22.1 and 22.2 are working fine in all scenarios but one: Converting DOCX to PNG throws an error:
Unhandled Exception: GroupDocs.Conversion.Exceptions.GroupDocsConversionException: The type initializer for ’ threw an exception.
at #002#005#003.#002()
at GroupDocs.Conversion.Converter.#002()
at GroupDocs.Conversion.Converter.Convert(SaveDocumentStream document, ConvertedDocumentStream documentCompleted, ConvertOptions convertOptions)
Converting from DOCX to PDF works fine - the error is only for pngs.
I believe this is the same issue this post except for PNGs instead of PDFs:
This makes sense as the PDF issue was apparently fixed in version 21.11 under the following id:
CONVERSIONNET-4894
What other information do you need?