This release of Aspose.Slides for Python via .NET 24.4 empowers macOS x64 developers with a powerful set of presentation processing features.
A Future-Proof Modern API
Streamline your development process with a modernized API that reduces reliance on various aspose.pydrawing classes. We’ve introduced new classes and enums like IImage, ImageFormat, and Images for enhanced image manipulation capabilities.
Export Presentations with ZIP64 Support
Save large presentations exceeding 4GB in ZIP64 format for broader compatibility using the newly introduced PptxOptions.zip64_mode property on macOS x64 machines. Here’s a Python code sample demonstrating 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*
Easily Convert Presentations to Video
Create video tutorials or demos by converting presentations to videos with animations and transitions included. Utilize the new PresentationEnumerableFramesGenerator class and its enumerate_frames method. Please refer to the provided 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*
Upgraded PDF Export
Achieve high-fidelity PDF exports with rasterized fonts that support bold styling on macOS x64 systems. Leverage 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*
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.