Skip to content

bnanes/shrink-pdf

master
Switch branches/tags
Code

Latest commit

- Remove transparency before encoding jpeg images
- Preserve file location from Open File dialog in Save File dialog
768c2c3

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages