a simple utility for compress pdf files
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
pdf2shrink

README.md

pdf2shrink

a simple utility for compress pdf files

#Usage: python3 pdf2shrink levelofcompression inputfile.pdf outputfile.pdf

where levelofcompression is the level of compression

Levels of compression:

low = low compression(20%*)

medium = normal compression(50%*)

high = high compression(60-70%*)

** = the result may be different!

==== #Installation: the program require pdftk and ghostscript. On ubuntu:

sudo apt-get install pdftk ghostscript