This release of Aspose.Slides for Python via .NET 24.4 empowers macOS x64 developers with a powerful set of presentation processing features.
Switch to a Modern API
Streamline your development workflows with a modern API that reduces reliance on various aspose.pydrawing classes. We’ve added new classes and enums like IImage, ImageFormat, and Images for optimized image manipulation capabilities.
Save Presentations with ZIP64 Support
Export large presentations exceeding 4GB in ZIP64 format for expanded compatibility with the new PptxOptions.zip64_mode property on macOS ARM64/M1 systems. Here’s a Python code example showcasing how to apply ZIP64 compression.
import aspose.slides as slides
with slides.Presentation("demo.pptx") as pres:
pptx_options = slides.export.PptxOptions()
pptx_options.zip_64_mode = slides.export.Zip64Mode.ALWAYS
pres.save("demo-zip64.pptx", slides.export.SaveFormat.PPTX, pptx_options)
Source*
Enhanced PDF Export
Experience high-fidelity PDF exports with rasterized fonts that support bold styling on macOS M1 machines. Utilize the new PdfOptions.rasterize_unsupported_font_styles property, as illustrated in the following code example:
import aspose.slides as slides
with slides.Presentation() as pres:
pdf_options = slides.export.PdfOptions()
pdf_options.rasterize_unsupported_font_styles = True
pres.save("pres.pdf", slides.export.SaveFormat.PDF, pdf_options)
Source*
Seamless Presentations to Video Conversion
Produce video guides or demos by converting PowerPoint presentations to videos with animations and transitions included. Utilize the new PresentationEnumerableFramesGenerator class and its enumerate_frames method. Please refer to the provided Python sample code for more details.
import aspose.slides as slides
fps = 30
with slides.Presentation("animated.pptx") as presentation:
with slides.export.PresentationEnumerableFramesGenerator(presentation, fps) as frames_generator:
for frame_args in frames_generator.enumerate_frames(presentation.slides):
frame_args.get_frame().save("frame_{}.png".format(frame_args.frames_generator.frame_index))
Source*
You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.Slides for Python via .NET 24.4 Release Notes.