Skip to main content

A one-click Python library for converting .pptx files into .png images.

Project description

pptx2png

A one-click Python library for converting .pptx files into .png images.

Installation:

pip install pptx2png

Example Code:

import pptx2png

# pptx: required, the PowerPoint file to process
# output_dir: optional, default is ./pptx2png in the same directory
# slide_range: optional, specifies the range of slides to convert
# scale: optional, resolution scale.
#        If not specified, it defaults to screen resolution.
pptx2png.topng(
    pptx="your_presentation.pptx",
    output_dir="./output",
    slide_range=[1, 5],
    scale=2
)

pptx2png.whatis() # print info

A graphical EXE version is also available. See GitHub Releases for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pptx2png-2025.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pptx2png-2025.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file pptx2png-2025.1.tar.gz.

File metadata

  • Download URL: pptx2png-2025.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for pptx2png-2025.1.tar.gz
Algorithm Hash digest
SHA256 1eb70cf072d05ebff7f9ba313ae8b433da8f7e012096033b3af71d69ab3bda2b
MD5 c8f78060d891a3b86a5339ffada07043
BLAKE2b-256 c07cd854b9644a734b000a1fe3ac4ee9eecd3d340c816886481e2a09a4f8a5c6

See more details on using hashes here.

File details

Details for the file pptx2png-2025.1-py3-none-any.whl.

File metadata

  • Download URL: pptx2png-2025.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for pptx2png-2025.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f4039cc3aabd35d26bfe20426487e19b673f5550e7834d9d9ed2c7a7e294667
MD5 74ff3f4fda75ff6d6c96d902b8918952
BLAKE2b-256 14d9cd215ac91995cc33a1a6c9f8da7f64bf37b19b1a2f5fd75b5a8e7fdd8b27

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page