Converting the PowerPoint Presentation to Animated GIF in C# Is Very Slow Process

I have a pptx file,I want to convert it to a gif file using Aspose.Slides for Net,But it process very slow,I still can’t get the output gif file after wait about 20 minutes.

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

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

The demo file:
demo.zip (6.1 MB)

@sullivan,
Thank you for reporting the issue.

I’ve reproduced the problem with converting the presentation to GIF and added a ticket with ID SLIDESNET-43688 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.

Please also share the following additional information:

  • your OS version on which the code was executed
  • .NET target platform in your app

OS Version Info:Windows 10、Windows 11
.NET Version Info:Net Framework 4.7

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