We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Fail to Save PPT File on Ubuntu in .Net Core 5 Project

I used Aspose.Slide version 21.8 to save the sample PPT file, see the sample file and project in the attachment. On Windows, the code works fine. But on Ubuntu, there is an exception when saving file with message ColorBlend object that was set is not valid.Position's last element must be equal to 1.0. ColorBlend objects must be constructed with the same number of positions and color values. Positions must be between 0.0 and 1.0, 1.0 indicating the last element in the array.
The Ubuntu env: Ubuntu 18.04 on WSL2, libgdiplus 4.2-2 installed.
Can you check and give advice?
resource.zip (3.4 MB)

Thank you for the issue description. I reproduced the problem with the ArgumentException error and logged the issue with ID SLIDESNET-42791 in our tracking system. Our development team will investigate this case. You will be notified when the problem is fixed.

The issues you have found earlier (filed as SLIDESNET-42791) have been fixed in Aspose.Slides for .NET 22.1 (ZIP, MSI).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.