I get the below error when attempting to call GetFrame on a slide that has an image on it with an animation. If I remove the animation, it works perfectly.
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Repeat 2 times:
--------------------------------
at ♠♥▬♥☻.h(IntPtr, Single ByRef)
--------------------------------
at System.Drawing.Image.get_HorizontalResolution()
at ☼☻☼↨.☻↨☻♣, Single, System.Drawing.SizeF, ☼☻←♥, Double ByRef, Double ByRef)
at ☼☻☼↨.☻(☼♣☻↨, System.Drawing.SizeF, ☼►▬▬, Aspose.Slides.IBaseSlide, Boolean)
at Aspose.Slides.Picture.☻(☼♣☻↨, System.Drawing.SizeF, ☼►▬▬, Aspose.Slides.IBaseSlide, Boolean)
at ♠☻☼↨..ctor(☼♣☻↨, Aspose.Slides.EffectFormat, Aspose.Slides.PictureFillFormat, Boolean)
at ☻↓☻▬.☻↓☻▬←☼→☻(☼♣▬▬, Aspose.Slides.ShapeFrame, System.Drawing.Drawing2D.GraphicsPath, ♣▬→▬[], Aspose.Slides.ShapeElementFillSource, Aspose.Slides.IFillParamSource, ☼►▬▬)
at ☻↓☻▬.☻(☼♣▬▬, ☼►▬▬, Aspose.Slides.ShapeElement[], Aspose.Slides.ShapeFrame, Aspose.Slides.IFillParamSource, Aspose.Slides.IPictureFillFormat)
at ♫☻☼↨.☻↓☻▬←☼→☻(☼♣▬▬, ☼►▬▬, Aspose.Slides.ShapeElement[], Aspose.Slides.ShapeFrame, Aspose.Slides.IEffectFormatEffectiveData, ☻)
at ♫☻☼↨.☼↑☻▬←☼→☻(☼♣▬▬, ☼►▬▬, Aspose.Slides.InterruptionToken)
at ☼►▬▬.☼►▬▬←☼→☻(☼♣▬▬, Aspose.Slides.Shape, Aspose.Slides.InterruptionToken)
at ♫↓↑▬.☻(☼♣▬▬, Aspose.Slides.Shape, Aspose.Slides.InterruptionToken)
at ♫↓↑▬.☼►▬▬←☼→☻(☼♣▬▬, Aspose.Slides.Shape, Aspose.Slides.InterruptionToken)
at→→▬.♥(☼♣▬▬, ☼►▬▬, Aspose.Slides.InterruptionToken)
at→→▬.☼↑☻▬←☼→☻(☼♣▬▬, ☼►▬▬, Aspose.Slides.InterruptionToken)
at ♥←→←.♣(☼♣▬▬, ☼►▬▬, Aspose.Slides.InterruptionToken)
at ♥←→←.☻(☼♣▬▬, Aspose.Slides.IShapeFrame, ☼►▬▬, Boolean, Boolean, Aspose.Slides.InterruptionToken)
at ♥←→←.☻(System.Drawing.Size, ☼►▬▬)
at↑↓▬.GetFrame()
at Aspose.Slides.Export.FrameTickEventArgs.GetFrame()