Converting PowerPoint Presentation to Animated GIF in C# Throws ArgumentException

I have a pptx file,It throw a ArgumentException when i using Aspose.Slides for Net to convert it to a gif file.

The version info:Aspose.Slides for Net 22.12
The demo code:

void Main()
{
	using (Presentation pres = new Presentation(@"C:\清新韩范.pptx"))
	{
		pres.Save(@"C:\output.gif", SaveFormat.Gif, new GifOptions
		{
			FrameSize = new Size(960, 720),
			DefaultDelay = 2000,
			TransitionFps = 35
		});
	}
}

The demo file:
清新韩范.zip (997.6 KB)

@sullivan,
Thank you for reporting the issue.

I’ve reproduced the problem with the ArgumentException error and added a ticket with ID SLIDESNET-43687 to our issue-tracking system. We apologize for any inconvenience. Our development team will investigate the case. You will be notified when a new release of Aspose.Slides with a fix is published.

It would be great if you could share the following additional information:

  • your OS version on which the error appears
  • .NET target platform in your app

OS version:Windows 10、Windows 11
.NET:Net Framework 4.7

@sullivan,
Thank you for the additional information. I’ve forwarded it to our developers.