Skip to content

A small GUI app that overlays all pages of a PDF with transparency and enables batch cropping for all or even and odd pages separately. Intended to help safely remove headers and footers or margins for reading, OCR or other processing. Uses Python only, no system dependencies needed.

License

Notifications You must be signed in to change notification settings

lukaszliniewicz/PyCropPDF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyCropPDF

A small PDF cropping tool that lets you see all pages overlaid while cropping - for removing headers, footers, and margins from multiple pages at once. Built in pure Python with no system dependencies required.

pycroppdf.mp4

Features

  • Visual Overlay Cropping: See all pages overlaid while selecting crop boundaries, making it easy to avoid cutting off content
  • Batch Processing: Crop all pages, or all odd/even pages at once with a single selection
  • Preview: Semi-transparent overlay shows content boundaries across all pages
  • Page Management: Remove unwanted pages
  • No System Dependencies: Pure Python implementation using PyQt6 and PyMuPDF

Common Use Cases

  • Remove headers and footers from documents
  • Trim excess margins for better reading experience
  • Clean up PDFs before OCR processing
  • Standardize page dimensions across documents
  • Remove watermarks or unwanted margins

Installation

Clone the repository:

git clone https://github.com/lukaszliniewicz/PyCropPDF

In the PyCropPDF directory execute:

pip install -r requirements.txt

Make sure that GIT and Python are installed on your system and in PATH.

About

A small GUI app that overlays all pages of a PDF with transparency and enables batch cropping for all or even and odd pages separately. Intended to help safely remove headers and footers or margins for reading, OCR or other processing. Uses Python only, no system dependencies needed.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages