How can you increase the JPEG compression level on a PDF using batch tools under Linux?
Obviously you can use
gs -dPDFSETTINGS=/screen or
/ebook, but that downsamples the PDF - it reduces the DPI. It's more efficient (in terms of how nice the PDF looks per KB) to use JPEG compression while retaining the same pixel count.
E.g.: https://docupub.com/pdfcompress/ allows you to half the size of a PDF yet when you zoom in it still has good quality, albeit with some artifacts. When you zoom in using
/ebook mode, it inevitably looks more pixelated.
What Linux tool allows us to apply JPEG compression to each image in a PDF?
Is there any way to use ImageMagick's
convert -quality on a PDF of multiple images?