A modular and beginner-friendly set of Jupyter Notebooks to compress, convert, and extract content from PDF files using Python libraries like Ghostscript, Poppler, Pillow, and PyMuPDF.
| Module | Description |
|---|---|
| 📁 PDF Compressor | Compress PDF files using Ghostscript |
| 📁 PDF to Image | Convert PDF pages into .png images using Poppler |
| 📁 Image to PDF | Convert images (.jpg, .png) into PDF files |
| 📁 PDF Text Extractor | Extract text content from PDF files using PyMuPDF |
PDF-Utilities/
├── Image to PDF/
├── PDF Compressor/
├── PDF Text Extractor/
├── PDF to Image/
└── LICENSE
Each folder contains:
- A Jupyter Notebook (
.ipynb) demonstrating the functionality - A dedicated
README.mdfile with usage instructions
Make sure to install the required packages before using the notebooks:
pip install -r requirements.txtYou may also need:
- Ghostscript (for PDF Compression)
- Poppler (for PDF to image)
- Clone this repository
- Open any notebook (
.ipynb) using Jupyter Lab, Jupyter Notebook, or VS Code - Follow the cell instructions in each notebook
This project is licensed under the MIT License.
Created by Petrus Dennis Artanto 📧 frozendsp@gmail.com
Have an idea to improve this toolkit? PRs and suggestions are welcome!