I have a Aspose.Total license which has worked out well until I started using Slides.
When trying to initialize a .pptx file, Im getting an exception suggesting that the .net platform is not supported.
The source file object is verified good and can be processed by competitor APIs.
I have need to use Aspose.Slides with Azure Cloud Functions. (.net 2)
Can I get a confirmation that the exception is a bug or not?
USING:
C#
.NETStandard 2.0.3
Aspose.Slides for .NET 19.12.0
CODE:
using Aspose.Slides;
// MemoryStream loaded with TestSlide.pptx
Presentation Presentation = new Presentation(MemoryStream); //Exception thrown
EXCEPTION:
Aspose.Slides.PptxReadException: System.Drawing is not supported on this platform. —> System.PlatformNotSupportedException: System.Drawing is not supported on this platform.
at System.Drawing.Image.FromStream(Stream stream)
at Aspose.Slides.ImageCollection.( )
at .( )
at .( )
at .( , IPresentation )
at .(Presentation , Stream , InterruptionToken )
— End of inner exception stack trace —
at .(Presentation , Stream , InterruptionToken )
at Aspose.Slides.Presentation.(Stream , Boolean )
at Aspose.Slides.Presentation.(Stream , Boolean )
at Aspose.Slides.Presentation.(Stream )
at Aspose.Slides.Presentation…ctor(Stream stream)
at Project.Extract.Run(HttpRequest req, ILogger log) in C:\base\APIs\Extract.cs:line 145
TestSlide.pptx: https://prodynamicsus-my.sharepoint.com/:p:/g/personal/mike_solorio_prodynamicsus_onmicrosoft_com/EX3mn1jBU89MqyW6DXpdgLEBePefXp_G4ke4eBfVKp_zUQ?e=pzE7n7