This script adds an option to the nemo context menu for compressing PDF files with large embedded images (e.g. for sending it via Email). It is intentionally kept very simple.
- licensed under the terms of the GPLv2 (see LICENSE.txt)
- view source and fork me on GitHub
Download and install the .deb
package from the latest release on Github.
- Install required packages:
apt install nemo python3 python3-urllib3 ghostscript
- Copy
compress-pdf.nemo_action
andcompress-pdf.py
into/usr/share/nemo/actions
. - Ensure that
compress-pdf.sh
is executable. - Right-click on a PDF file or multiple PDF files, then select
Compress PDF(s)
. This will compress the images inside the PDF file(s) and saves it with the suffix ".converted".
Found a bug? Great!
Please report it (preferably with a ready-to-use fix for it ;-) ) on GitHub.
Questions, ideas and feature requests are also welcome.