scripts for doing things with PDFs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
580 B

2 years ago
# pdf-utils
1 year ago
A set of scripts for doing things with PDF
2 years ago
1 year ago
## compression
2 years ago
1 year ago
compresspdf.sh is a script made by members of [Open Source Publishing](http://osp.kitchen) 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```