From 6eca9dc7a18a233bc5feb2de77b50f7c1e51013b Mon Sep 17 00:00:00 2001 From: simoon Date: Tue, 21 Mar 2023 17:42:22 +1100 Subject: [PATCH] more README --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5a47d35..1811fb4 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,18 @@ A set of scripts for doing things with PDF ## compression -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```, an open-source software suite for interpreting PostScript and PDF. +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 ``` + +For example: + +```./compresspdf.sh input.pdf 300``` + +The output will be something like: + +```input-resampled.pdf``` \ No newline at end of file