Image with Background Color Is Not Reflected Properly in C#

Hi,
When we use an image with coloring same as the slide background color there is difference in rendered output. We are seeking the current output to be provided for this API and any other API that gets image of shape/slide

Kindly use this snippet to run the attached ppt
sample.zip (559.3 KB)

The output image along with ppt is attached in zip

for (int i = 0; i < m_Presentation.Slides.Count; i++)
{
    var thumbnail = m_Presentation.Slides[i].GetImage(1, 1);
    var outPath = "C:/input/sample_slide_" + (i + 1) + ".png";
    Console.WriteLine("added changes, generating image");
    thumbnail.Save(outPath, Aspose.Slides.ImageFormat.Png);
}

platform : Windows 10, .NET 4
library : Aspose.Slides 24.4

Regards,
Raman

Raising a paid support for this since we need the solution urgently.

@sraman,
Thank you for reporting on the issue. I reproduced the problem you described.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): SLIDESNET-44533

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Hi Andrey,

Thanks for responding,
we have already filed a paid support ticket for this : Containerize.IdentityServer - Single sign-on to access all applications and services of Aspose Pty Ltd..

paid support id : 9889
Could we get an ETA for this ?

@sraman,
The issue has been escalated to Priority Support. Unfortunately, I don’t have any additional information yet. Our developers will do their best to resolve the issue as soon as possible.

The issues you found earlier (filed as SLIDESNET-44533) have been fixed in Aspose.Slides for .NET 24.6 (ZIP, MSI, NuGet, Cross-platform).
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.

@sraman,
With Aspose.Slides for .NET 24.6, please use the following code snippet:

using (Presentation presentation = new Presentation("sample.pptx"))
{
    var renderingOptions = new RenderingOptions();

    renderingOptions.GradientStyle = GradientStyle.PowerPointUI; // Enable the PowerPoint UI gradient style

    IImage img = presentation.Slides[0].GetImage(renderingOptions, 1, 1);
    img.Save("img.png", ImageFormat.Png);
}