Skip to main content

A tool to convert PDF files into PowerPoint presentations.

Project description

PDF to PPTX Converter

Installation

Prerequisites

  • Python 3.6 or higher
  • Required Python libraries:
    • pymupdf
    • python-pptx

Install the dependencies using:

pip install pymupdf python-pptx

Usage

Run the script using the command-line interface:

python script_name.py --pdf input.pdf --output output.pptx --dpi 300

Arguments

  • --pdf (required): Path to the input PDF file.
  • --output (required): Path to save the generated PPTX file.
  • --dpi (optional): Resolution for rendering PDF pages (default: 300).

Example

Convert a file named example.pdf to example.pptx with a DPI of 200:

python script_name.py --pdf example.pdf --output example.pptx --dpi 200

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

pdfslides-1.0.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

pdfslides-1.0.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file pdfslides-1.0.0.tar.gz.

File metadata

  • Download URL: pdfslides-1.0.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for pdfslides-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1c950410ee31525cb508e0bd79c49bab789b6ed1d94c9796a9678ed4c31e1f17
MD5 933ce5e2bc04fc5c88e61360d30752e1
BLAKE2b-256 a8de0bdab83264f77a446fb5170ef99f5ae282d4f5f93f02ec29317bcc377fd0

See more details on using hashes here.

File details

Details for the file pdfslides-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pdfslides-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for pdfslides-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a17263329f8a6735224db26f00f8e2dc0ccaedbf5775a58d4fcd63011cc6fdc
MD5 70aa11950aa11180d0233cc83906bbf6
BLAKE2b-256 862478b61964c129c781e64588196ebfe05350246c3ce8a661ac5ec0b7e64007

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