Hi Team,
I am facing an issue with emf/wmf vector image files embedded in Powerpoint files.
I am trying to save such a vector images into memory stream but it fails with the following exception:
System.ArgumentNullException: Value cannot be null. (Parameter 'encoder')
at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
at System.Drawing.Image.Save(Stream stream, ImageFormat format)
I’ve tried it on windows platform with Aspose.Slides 21.11
I have implemented an example solution to demonstrate this issue.
Please find it attached.
Thanks, Zoltan
WmfEmfImageExportFailedInSlides.zip (292.1 KB)