Version 24.4 of the Aspose.Slides for Python via .NET API includes different new features and enhancements that empower your presentation apps on Windows x32 systems.
PowerPoint Presentations with ZIP64 Support
The latest release of our PowerPoint API enables saving large presentations exceeding 4GB in ZIP64 format using the newly added PptxOptions.zip64_mode
property. This Python code example illustrates how to apply ZIP64 compression using the new property.
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*
Presentation to Video Conversion
Python developers can now build presentation conversion solutions to effortlessly convert presentations to video with animations and transitions within their apps running on Windows 32-bit systems using the new PresentationEnumerableFramesGenerator
class and the enumerate_frames
method of this class. Please check out the following sample code to learn more about this feature.
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*
Transition to a Modern API
We have introduced a modern API with reduced dependencies on different aspose.pydrawing
classes. Different new classes and enumerations have been incorporated into the updated API, such as IImage
, ImageFormat
, and Images
, which offer advanced image manipulation functionality.
Upgraded PDF Export
Using this release of the Python API, you can ensure high-fidelity text rendering in PDFs with the PdfOptions.rasterize_unsupported_font_styles
property. This property helps you rasterize the fonts with bold styling and save them to PDF, as demonstrated in the following sample code.
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.