Reduce PDF file size by applying jpeg compression to embedded images
Java Other
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/main beta-3 release Apr 25, 2014
.gitignore beta-1 release Sep 2, 2013
LICENSE beta-1 release Sep 2, 2013
README.md Update README Mar 29, 2016
pom.xml beta-3 release Apr 25, 2014

README.md

The PDF Shrinker

Reduce PDF file size by applying jpeg compression to all images embedded in the PDF.

Project site: http://b.nanes.org/shrink-pdf.html

Release notes

beta-3

  • Support for larger PDF documents

beta-2

  • Support for command line arguments

beta-1

  • Extracts each image object in the PDF, applies jpeg compression, and replaces the original image

  • Does not check original image format. If original image format is already compressed (jpeg, jbig2, or jpeg2000), it will be recompressed as jpeg. This will always result in quality loss, but depending on the compression settings, it may increase file size.

Dependencies

Uses Apache PDFBox to read, parse, and write PDF files (included in the pre-built app download)

Contact

Benjamin Nanes
http://b.nanes.org/