Aspose.Slides for Python via .NET is a presentation file formats processing library for working with Microsoft PowerPoint files without using Microsoft PowerPoint.
Presentation Manipulation Python API
Aspose.Slides for Python via .NET is a powerful on-premise class library used for processing and working with presentations. With this API, developers and applications get to generate, modify, convert, render, print, and manipulate presentations without relying on Microsoft PowerPoint or other third-party applications and services.
Without having to install a PowerPoint program or any 3rd party component, you can use Aspose.Slides to build different types applications. For example, Aspose, using its own APIs, developed a free web application that allows people to convert their PDF documents to PowerPoint Presentation online.
Slides API Features
Aspose.Slides for Python via .NET provides these popular features:
- Loading, opening, and viewing presentations
- Editing presentations
- Converting presentations to PDF, Word, JPG, HTML, GIF, SVG, and many other formats
- Rendering and printing presentations
- Encrypting and decrypting presentations; password-protecting presentations and removing passwords
- Manipulating presentation entities, such as master slides, shapes, charts, picture frames, audio frames, video frames, OLE, VBA macros, animations, etc.
Supported File Formats
With Aspose.Slides for Python via .NET, developers and applications can load presentations in these formats (and also save files in them):
|Microsoft presentation formats||OpenOffice presentation formats||Other file formats|
|Microsoft PowerPoint 97||ODP|
|Microsoft PowerPoint 2000||OTP||TIFF|
|Microsoft PowerPoint XP||EMF|
|Microsoft PowerPoint 2003||XPS|
|Microsoft PowerPoint 2007||JPEG|
|Microsoft PowerPoint 2010||PNG|
|Microsoft PowerPoint 2013||GIF|
|Microsoft PowerPoint 2016||BMP|
|Microsoft PowerPoint 2019||SVG|
|Microsoft PowerPoint for MAC||SWF|
Aspose.Slides for Python via .NET can be used to develop 32-bit and 64-bit applications for different operating systems (such as Windows, Linux and macOS) where Python 3.5 or later is installed.
Ready to try Aspose.Slides for Python via .NET?
Fetch the package and install Aspose.Slides. Run this command:
pip install aspose.slides
If you already have Aspose.Slides installed and want to get the latest version,
you have to run
pip install --upgrade aspose.slides instead.
Check out Aspose.Slides for Python for .NET documentation).
Create a Presentation (PPTX file) from scratch in Python
import aspose.slides as slides # Instantiate a Presentation object that represents a presentation file with slides.Presentation() as presentation: slide = presentation.slides slide.shapes.add_auto_shape(slides.ShapeType.LINE, 50, 150, 300, 0) presentation.save("NewPresentation_out.pptx", slides.export.SaveFormat.PPTX)
Convert a Presentation to PDF
import aspose.slides as slides # Instantiate a Presentation object that represents a PPT file presentation = slides.Presentation("PowerPoint.ppt") # Save the presentation as PDF presentation.save("PPT-to-PDF.pdf", slides.export.SaveFormat.PDF)
Import PDF and Save it as a Presentation
import aspose.slides as slides with slides.Presentation() as pres: pres.slides.remove_at(0) pres.slides.add_from_pdf("welcome-to-powerpoint.pdf") pres.save("OutputPresentation.pptx", slides.export.SaveFormat.PPTX)
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for Aspose.Slides-23.1.0-py3-none-win_amd64.whl
Hashes for Aspose.Slides-23.1.0-py3-none-win32.whl
Hashes for Aspose.Slides-23.1.0-py3-none-manylinux1_x86_64.whl
Hashes for Aspose.Slides-23.1.0-py3-none-macosx_10_14_x86_64.whl