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

Free Support Forum - aspose.com

SVG Image Is Too Blurry when Converting Presentation Slides to Thumbnails or PDF

When attempting to add an SVG image to a slide in PPTX format, it displays perfectly. However, when exporting the PPTX to PDF or thumbnails, the image becomes very blurry. This issue only occurs with SVG images.

OS: Ubuntu
Library: Aspose slides - Python via .Net

PDF Export:

pdfOptions = slides.export.PdfOptions()

# Sets the Jpeg quality
pdfOptions.jpeg_quality = 100

# Sets the behavior for metafiles
pdfOptions.save_metafiles_as_png = True
pdfOptions.sufficient_resolution = 100

# Sets the text compression level
pdfOptions.text_compression = slides.export.PdfTextCompression.NONE

# Defines the PDF standard
pdfOptions.compliance = slides.export.PdfCompliance.PDF15

Thumbnail export:

with open(file_name, 'wb') as file:
    # setting svg export params
    svgOptions = slides.export.SVGOptions()
    svgOptions.vectorize_text = True
    svgOptions.jpeg_quality = 100
    svgOptions.pictures_compression = 3
    slide.write_as_svg(file, svgOptions)

Files.zip (269.1 KB)

Thank you for reporting on the issue. I am working on the problem you described and will get back to you as soon as possible.

1 Like

I was unable to reproduce the blurred image issue. Please check your results carefully again. Please use the latest version of Aspose.Slides for Python if it is possible. If the issue persists, please share the following information:

  • Ubuntu version on which the conversion was performed
  • Aspose.Slides version you used

Issue is still there, the generated thumbnails and pdf files are already attached in the main ticket. Please check those files.

My ubuntu version: Ubuntu 22.04.1 LTS
Aspose: 23.2.0

Thank you for the additional information.

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.


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.