[Apose.Slides, C#] Blurry images when converting to svg

I’m using Aspose.Slides (V19.9.0) to convert a PowerPoint slide to a svg image with the following code:
var presentation = new Presentation(pptFileName);
var firstSlide = presentation.Slides[0];

        using (Stream fileStream = File.Open(outFileName, FileMode.Create))
            // Generate SVG image of slide and save in file stream
            var svgOptions = new SVGOptions
                PicturesCompression = PicturesCompression.DocumentResolution

            firstSlide.WriteAsSvg(fileStream, svgOptions);
            fileStream.Position = 0;

Everything works fine, except when there are images on the slide, the images are getting rendered blurry. I tried it with the SVGOptions.PicturesCompression = PicturesCompression.DocumentResolution. But it didn’t work as you can see in the attachmentpowerpoints.zip (173.0 KB)
What can I do to get my images rendered sharply?


I have observed the issue shared and request you to please first try using latest Aspose.Slides for .NET 20.3 on your end. In case there is still an issue then please share feedback with us.

Same problem with the newest version of Aspose.Slides for .NET 20.3.


I have observed the issue shared by you and tested using Aspose.Slides for .NET 20.5 on my end. I have not been able to observe any blur text issue using your same code.Can you please check the shared output and use suggested version.

saved.zip (153.0 KB)

I need to add that I’m using the 20.3 dll for net4.0. Could that maybe be the problem?


You should try the latest version as I have shared the output of latest version having no issue with you.

1 Like