We're glad to announce the release of Spire.Presentation for Python 10.6.4. This version adds support for the Linux arm64 platform and a new feature to save shapes as SVG. What’s more, several issues that occurred when converting PowerPoint to images and loading files have been successfully fixed. Check below for the details.
Here is a list of all changes made in this release.
| Category | ID | Description |
| Adjustment | - | Upgrades the dependent SkiaSharp version to 3.116.1. |
| New feature | - | Adds support for Linux arm64 platform. |
| New feature |
SPIREPPT-2739 |
Supports saving shapes to SVG.
presentation = Presentation()
presentation.LoadFromFile(inputFile)
m=0
for i in range(presentation.Slides.Count):
slide = presentation.Slides[i]
for j in range (slide.Shapes.Count):
shape = slide.Shapes[j]
#stream = shape.SaveAsSvg()
stream = shape.SaveAsSvgInSlide()
stream.Save(outputFile+"Bug_2739_1_"+str(m)+".svg")
stream.Flush()
stream.Close()
m=m+1
|
| Bug | SPIREPPT-2649 | Fixes the issue of incorrect content formatting when converting PowerPoint to images. |
| Bug | SPIREPPT-2674 | Fixes the issue that errors occurred when loading PowerPoint files. |
| Bug | SPIREPPT-2747 | Fixes the issue where setting “shape.TextFrame.AutofitType = TextAutofitType.Normal” did not work correctly. |
Click the link to download Spire.Presentation for Python 10.6.4: