On many occasions, you might want to resize a PDF to send it by Using Linux you just need the program ghostscript to do everything and with. Compress PDF files with ghostscript. GitHub Gist: instantly share code, notes, and snippets. For those of you who are always sharing graphics intensive pdf files, having a way to compress the final output before sharing it via whatever.
|Published:||16 March 2015|
|PDF File Size:||34.10 Mb|
|ePub File Size:||23.92 Mb|
Low resolution 72 dpiideal for screen-view only Medium resolution dpiideal for an ebook High resolution dpiideal for printing Prepress dpiideal for prepress, including color preserving Default, ideal for a wide variety of uses 2.
Shrink pdf linux file will then be compressed automatically. Just click the download button to save the new file to your hard drive. This should make most PDFs small shrink pdf linux to upload or send via email without any problems.
To keep things simple, you can choose one of the presets, shrink pdf linux range from low compression for a higher image quality to maximum compression for a lower image quality. This includes things like forms, annotations, and page labels, which can unnecessarily increase the size of the file.
Ghostscript will process the input file s without interaction. It will quit on completion.
I should look into that more closely. The one that Andrew recommended is this one. For me, ebook did the trick.
I ran the script in a Terminal window to compress it: Ghostscript Terminal Window You can see that it reduced the 1. Shrink pdf linux Ghostscript rule You can see that Shrink pdf linux embedded the script above, but made some tweaks to make it work with Hazel and output to a folder called Output.
Type the Ghostscript command to reduce the size of your PDF file.
For example, if your file is named "mydoc. Press the "Enter" key to execute your Ghostscript command.