Spire.Presentation.Free 9.12.0
A 100% standalone Power Point Python API for Processing Power Point Files
Requires Python: >=3.7

# Free Python API for Processing PowerPoint Presentations   

[![Foo](https://i.imgur.com/dvNJk7D.png)](https://www.e-iceblue.com/Introduce/free-presentation-for-python.html)

[Product Page](https://www.e-iceblue.com/Introduce/free-presentation-for-python.html) | [Documentation](https://www.e-iceblue.com/Tutorials/Python/Spire.Presentation-for-Python/Program-Guide/Spire.Presentation-for-Python-Program-Guide-Content.html) | [Examples](https://github.com/eiceblue/Spire.Presentation-for-Python) | [Forum](https://www.e-iceblue.com/forum/spire-presentation-f14.html) | [Temporary License](https://www.e-iceblue.com/TemLicense.html) | [Customized Demo](https://www.e-iceblue.com/Misc/customized-demo.html)

[Free Spire.Presentation for Python](https://www.e-iceblue.com/Introduce/free-presentation-for-python.html) is a Community Edition of the [Spire.Presentation for Python](https://www.e-iceblue.com/Introduce/presentation-for-python.html), which is a totally free PowerPoint API for commercial and personal use. With it, developers can create, edit, convert, and save presentations without installing Microsoft PowerPoint. 

This free library supports a variety of presentation manipulation features, such as slide management, multimedia handling, text and image manipulation, watermarking, encryption, and more. Furthermore, Free Spire.Presentation for Python also allows converting PowerPoint presentations to PDFs, PowerPoint to HTML, and PowerPoint to images (PNG, JPG, BMP, SVG).

*Friendly Reminder:
Free version is limited to 10 presentation slides. This limitation is enforced during reading or writing PPT, PPTX. When converting PowerPoint files to PDF, you can only get the first 3 pages of PDF file. *.


## Core Features & Functionality

### High-Quality PowerPoint File Conversion
- [Convert PowerPoint presentations to PDF](https://www.e-iceblue.com/Tutorials/Python/Spire.Presentation-for-Python/Program-Guide/Conversion/Python-Convert-PowerPoint-Presentation-to-PDF.html) while preserving the original layout and formatting
- [Export presentation slides to images](https://www.e-iceblue.com/Tutorials/Python/Spire.Presentation-for-Python/Program-Guide/Conversion/Python-Convert-PowerPoint-to-Images-PNG-JPG-BMP-SVG.html) (PNG, JPEG, BMP, SVG, etc.)
- [Convert PowerPoint presentations to HTML files](https://www.e-iceblue.com/Tutorials/Python/Spire.Presentation-for-Python/Program-Guide/Conversion/Python-Convert-PowerPoint-to-HTML.html) for web viewing
- [Convert PPS and PPT to PPTX format](https://www.e-iceblue.com/Tutorials/Python/Spire.Presentation-for-Python/Program-Guide/Conversion/Python-Convert-PPS-and-PPT-to-PPTX.html) for compatibility
- Convert presentations to other formats such as ODT, XPS, etc.

###  Efficient PowerPoint Presentation Manipulation

- [Extract text from slides](https://www.e-iceblue.com/Tutorials/Python/Spire.Presentation-for-Python/Program-Guide/Paragraph-and-Text/Python-Extract-Text-from-PowerPoint-Presentations.html)
- [Export images from slides](https://www.e-iceblue.com/Tutorials/Python/Spire.Presentation-for-Python/Program-Guide/Image-and-Shapes/Python-Extract-Images-from-PowerPoint-Presentations.html)
- [Add text and image watermarks to presentations](https://www.e-iceblue.com/Tutorials/Python/Spire.Presentation-for-Python/Program-Guide/Watermark/Python-Add-Text-or-Image-Watermarks-to-PowerPoint.html)
- [Embed or export audio and video files in presentations](https://www.e-iceblue.com/Tutorials/Python/Spire.Presentation-for-Python/Program-Guide/Audio-and-Video/Python-Add-or-Extract-Audio-and-Video-from-PowerPoint-Documents.html)
- [Encrypt or decrypt PowerPoint presentations](https://www.e-iceblue.com/Tutorials/Python/Spire.Presentation-for-Python/Program-Guide/Security/Python-Protect-or-Unprotect-PowerPoint-Presentations.html)
- [Work with SmartArt in presentations](https://www.e-iceblue.com/Tutorials/Python/Spire.Presentation-for-Python/Program-Guide/SmartArt/Python-Create-Read-or-Delete-SmartArt-in-PowerPoint.html)
- [Create tables in presentations](https://www.e-iceblue.com/Tutorials/Python/Spire.Presentation-for-Python/Program-Guide/Table/Python-Create-or-Edit-Tables-in-PowerPoint-Presentations.html)
- [Change the slide size](https://www.e-iceblue.com/Tutorials/Python/Spire.Presentation-for-Python/Program-Guide/Document-Operation/Python-Change-Slide-Size-in-PowerPoint.html) of presentations
- [Create charts in presentations](https://www.e-iceblue.com/Tutorials/Python/Spire.Presentation-for-Python/Program-Guide/Chart/Python-Create-Column-Charts-in-PowerPoint.html)
- [Add or remove slides in presentations](https://www.e-iceblue.com/Tutorials/Python/Spire.Presentation-for-Python/Program-Guide/Document-Operation/Python-Add-or-Delete-Slides-in-PowerPoint-Presentations.html)

### Extensive Presentation Version Support

- PPT - PowerPoint Presentation 97-2003
- PPS - PowerPoint SlideShow 97-2003
- PPTX - PowerPoint Presentation 2007/2010/2013/2016/2019
- PPSX - PowerPoint SlideShow 2007, 2010

## Code Examples

### [Convert a PowerPoint presentation to PDF](https://www.e-iceblue.com/Tutorials/Python/Spire.Presentation-for-Python/Program-Guide/Conversion/Python-Convert-PowerPoint-Presentation-to-PDF.html)
```python
from spire.presentation import *
from spire.presentation.common import *

# Create an object of Presentation class
presentation = Presentation()

# Load a presentation file
presentation.LoadFromFile("Sample.pptx")

# Convert the presentation file to PDF and save it
presentation.SaveToFile("output/PresentationToPDF.pdf", FileFormat.PDF)
presentation.Dispose()
```

### [Convert a PowerPoint presentation to images](https://www.e-iceblue.com/Tutorials/Python/Spire.Presentation-for-Python/Program-Guide/Conversion/Python-Convert-PowerPoint-to-Images-PNG-JPG-BMP-SVG.html)
```python
from spire.presentation.common import *
from spire.presentation import *

# Create a Presentation object
presentation = Presentation()

# Load a PowerPoint presentation
presentation.LoadFromFile("Sample.pptx")

# Loop through the slides in the presentation
for i, slide in enumerate(presentation.Slides):
    # Specify the output file name
    fileName ="Output/ToImage_ + str(i) + ".png"
    # Save each slide as a PNG image
    image = slide.SaveAsImage()
    image.Save(fileName)
    image.Dispose()

presentation.Dispose()
```

### [Encrypt a PowerPoint presentation](https://www.e-iceblue.com/Tutorials/Python/Spire.Presentation-for-Python/Program-Guide/Security/Python-Protect-or-Unprotect-PowerPoint-Presentations.html)
```python
from spire.presentation import *

# Create a Presentation object
presentation = Presentation()
# Load a PowerPoint presentation
presentation.LoadFromFile("Sample.pptx")

# Encrypy the presentation with a password
presentation.Encrypt("your password")

# Save the resulting presentation
presentation.SaveToFile("Encrypted.pptx", FileFormat.Pptx2016)
presentation.Dispose()
```

### [Extract images from a PowerPoint presentation](https://www.e-iceblue.com/Tutorials/Python/Spire.Presentation-for-Python/Program-Guide/Image-and-Shapes/Python-Extract-Images-from-PowerPoint-Presentations.html)
```python
from spire.presentation.common import *
from spire.presentation import *

# Create a Presentation instance
ppt = Presentation()

# Load a PowerPoint document
ppt.LoadFromFile("sample.pptx")

# Iterate through all images in the document
for i, image in enumerate(ppt.Images):

    # Extract the images
    ImageName = "ExtractImage/Images_"+str(i)+".png"
    image.Image.Save(ImageName)

ppt.Dispose()
```

[Product Page](https://www.e-iceblue.com/Introduce/free-presentation-for-python.html) | [Documentation](https://www.e-iceblue.com/Tutorials/Python/Spire.Presentation-for-Python/Program-Guide/Spire.Presentation-for-Python-Program-Guide-Content.html) | [Examples](https://github.com/eiceblue/Spire.Presentation-for-Python) | [Forum](https://www.e-iceblue.com/forum/spire-presentation-f14.html) | [Temporary License](https://www.e-iceblue.com/TemLicense.html) | [Customized Demo](https://www.e-iceblue.com/Misc/customized-demo.html)