Skip to main content

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.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for render-pptx 0.2.0
File Size Uploaded Provenance Actions
render_pptx-0.2.0.tar.gz 59.2 kB Without provenance Details for render_pptx-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for render-pptx 0.2.0
File Interpreter ABI Platform Actions
render_pptx-0.2.0-py3-none-any.whl Python 3 none any Details for render_pptx-0.2.0-py3-none-any.whl

Total release size: 116.1 kB

Release files / render_pptx-0.2.0.tar.gz

Download URL render_pptx-0.2.0.tar.gz
Size 59.2 kB
Tags Source
SHA-256 checksum
How to use checksums
835b531f2443e5702a363609ad5e4bde0429f6108fcfd6b4c94a07fdce8c15ec
BLAKE2b-256 checksum
How to use checksums
ee0579d1f463ce3c28c6156c298c9b81e96bbeeff35b02ce91cf4f43195df2ea
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.2.0-py3-none-any.whl

Download URL render_pptx-0.2.0-py3-none-any.whl
Size 56.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1c2e89808fcd3cb67c04a1adb59c0b643f7cf3f3c663890630b47a8aa962aad
BLAKE2b-256 checksum
How to use checksums
b5c73bdb0507f1fe8aae62ced439283d3cecffe8437f24513372886bddfefb2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for render-pptx 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page