render-pptx
Export slides of .pptx files as .png images, using python-pptx and Pillow.
All shapes of a slide are drawn on a canvas, including shapes inherited from the
slide layout and slide master. Picture cropping is respected.
Install
pip install .
Usage
You can convert a Presentation object into a list of PIL Images like this:
from pptx import Presentation
from render_pptx import render_slide, render_slides, render_presentation
prs = Presentation("deck.pptx")
all_images = render_slides(prs) # returns list of PIL Images
Or you can convert a .pptx file to multiple .png files using the command line:
render-pptx deck.pptx .
Metadata
Release files for render-pptx 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| render_pptx-0.1.0.tar.gz | 16.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| render_pptx-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.6 kB
Release files / render_pptx-0.1.0.tar.gz
| Download URL | render_pptx-0.1.0.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a76c20c375e0d58a3cd5fe38e3740b101452da8003dbc6fcdb7497acb4ece0a7
|
|
BLAKE2b-256 checksum How to use checksums |
06907cca005314eafe7500538bf420765d9c244c8911dcdce25ad4144c51db24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / render_pptx-0.1.0-py3-none-any.whl
| Download URL | render_pptx-0.1.0-py3-none-any.whl |
|---|---|
| Size | 13.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
485d6ba27ba7d292171428f41ea2fb9ce2baa9ca879ea0e036fd43658abe9217
|
|
BLAKE2b-256 checksum How to use checksums |
061ae5382a9228566f3c059bcb2e5064ed9e0e4e8613c6007fabdaeb9fb5d866
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|