Skip to content

PixelNoob/compress_pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

PDF Compressor

A simple Python script to compress scanned PDF files by converting each page to a low-resolution JPEG image and rebuilding the PDF. Useful for reducing file sizes of scanned documents (e.g., CamScanner exports) to meet upload or email size limits.

Features

  • Converts each page to JPEG with configurable DPI and quality.
  • Suitable for scanned/image-based PDFs.
  • Simple and fast – works locally without sending data to external servers.

Requirements

Install dependencies:

pip install -r requirements.txt

About

Compress large PDF files using python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages