Free Support Forum - aspose.com

PPTX to Thumbnail: The image gets blurry if soft edge effect is applied of picture frame (C# .NET)

If a SoftEdge effect is applied to an image the whole image gets blurry if rendered as image.

        const float scale = 300 / 96f;
        using (var ppt = new Presentation("SoftEdges.pptx"))
        {
            ppt.Slides[0].GetThumbnail(scale, scale).Save("SoftEdges.pptx.jpg");

            var pic = ppt.Slides[0].Shapes.OfType<IPictureFrame>().FirstOrDefault();
            pic.EffectFormat.EnableSoftEdgeEffect();
            pic.EffectFormat.SoftEdgeEffect.Radius = 15;

            ppt.Slides[0].GetThumbnail(scale, scale).Save("SoftEdges_blurry.pptx.jpg");
        }

SoftEdges.zip (2.7 MB)

If you compare the created images you will see the difference.

@bitterlich,

I have observed the issue shared by you and request you to please provide the problematic output image on your end. Please also try using latest Aspose.Slides for .NET 19.12 on your end first as well.

Here are the images created with the latest version 19.12.

SoftEdges.pptx.jpg (2.0 MB)
SoftEdges_blurry.pptx.jpg (1.2 MB)

@bitterlich,

Thank you for sharing the information. An issue with ID SLIDESNET-41670 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.