alex-giotis / shrink-pdf

Reduce PDF file size by applying jpeg compression to embedded images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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-5

  • Remove transparency before encoding jpeg images

beta-4

  • Update to use PDFBox version 2.0.16
  • Fix security vulnerability

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/

About

Reduce PDF file size by applying jpeg compression to embedded images

License:MIT License


Languages

Language:Java 99.3%Language:Shell 0.4%Language:Batchfile 0.3%