scripts for doing things with PDFs
Go to file
2023-03-21 17:42:22 +11:00
compresspdf.sh updated compresspdf.sh 2023-03-21 17:31:30 +11:00
README.md more README 2023-03-21 17:42:22 +11:00

pdf-utils

A set of scripts for doing things with PDF

compression

compresspdf.sh is a script made by members of Open Source Publishing that squashes large PDFs into very small ones using gs (ghostscript), an open-source software suite for interpreting PostScript and PDF.

First download and install ghostscript from here: https://www.ghostscript.com/

To run the script, do:

./compresspdf.sh <file.pdf> <resolution in DPI>

For example:

./compresspdf.sh input.pdf 300

The output will be something like:

input-resampled.pdf