Notesshrink
From MobileRead
Noteshrink is a Python program that can shrink the size of images created by scanners or photos of text pages. This is particularly useful to reduce the size of a PDF that was created as images.
[edit] For more information
- https://mzucker.github.io/2016/09/20/noteshrink.html in an explanation on how it works
- https://github.com/mzucker/noteshrink download the tools with examples.