How to shrink a scanned PDF on Linux

When you want to reduce the file size of a PDF document, this quick command using convert will shrink the original PDF file.

convert

This command is particularly useful against scanned documents, the jpeg quality will be 60% for 150dpi.

Converting an original 300dpi / color PDF to a 150dpi, greyscale PDF can reduce file size up to 50%. There will be some quality loss but in this way you can reduce file size enough to send scanned documents of dozens of pages via e-mail without using third-party services.

https://web.archive.org/web/20180404000000*/https://www.imagemagick.org/script/command-line-processing.php

Proxied content from gemini://chirale.org/2018-04-04_4235.gmi (external content)

Gemini request details:

Original URL
gemini://chirale.org/2018-04-04_4235.gmi
Status code
Success
Meta
text/gemini; charset=utf-8
Proxied by
kineto

Be advised that no attempt was made to verify the remote SSL certificate.