Black Shape in PowerPoint Presentation Is Rendered as White in C#

Hi,

Issue : PPT Slide containing black shape renders as white.

Attaching sample presentations with such shapes to reproduce the behaviour:
sample.zip (21.8 KB)

The generated image from code below shows empty shape in place of black shape

		var presentation = new Presentation(szPptxPath);
		for (int i = 0; i < presentation.Slides.Count; i++)
		{
			var thumbnail = presentation.Slides[i].GetThumbnail(1, 1);
			var imgSavePath = "./input/sample_slide_" + (i + 1) + ".png";
			thumbnail.Save(imgSavePath, ImageFormat.Png);
		}

Regards,
Raman

@sraman,
Thank you for reporting the issue.

I’ve reproduced the problem with rendering the black shapes and added a ticket with ID SLIDESNET-43577 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:

  • OS version on which the conversion was performed
  • .NET target platform in your app

We will then also test the fix in an environment similar to yours.

Hi,
Windows 10, .NET 4 Framework

Regards,
Seetharaman

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

Hi Andrey,

Is there any update on this ?

Regards,
Raman

@sraman,
An issue investigation has been scheduled for the next week.

Hi Andrey,

Was there any finding, could you share an ETA for this ?

Regards,
Raman

@sraman,
The issue has already been resolved. A fix will be included in Aspose.Slides 23.1. This release will be published in the second half of January.

Hi Andrey,
This feature involves all presentaions with a black background and has a considerable impact. If prioritized as a paid support ticket, can we get a fix in 22.12

Regards,
Raman

@sraman,
Unfortunately, preparations for the release of Aspose.Slides 22.12 are already underway. The fix will not be included in this version. I’m sorry.

Andrey,

Will we receive this in 23.1 ?

Regards,
Raman

@sraman,
Yes, the fix will be included in Aspose.Slides 23.1.

The issues you found earlier (filed as SLIDESNET-43577) have been fixed in Aspose.Slides for .NET 23.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.

Glad to hear, but i am unable to locate the latest release 23.1 in product page

Regards,
Raman

@sraman,
The Product Download page always allows you to download the latest version of Aspose.Slides for .NET. releases.png (82.0 KB).
You can also use NuGet to install the latest version.

Andrey,
Verified this with latest fix, it works fine.

Regards,
Raman

@sraman,
Thank you for your feedback.