Use mozjpeg for jpeg compression
Scan documents to PDF and other file types, as simply as possible.
Brought to you by:
ben-cyanfish
I don't know if you use libjpeg
for (re)compressing jpeg
files, but if it is the case, it should be relatively easy to replace it with mozjpeg which is, as far as I know, drop in replacement library. The quality of mozjpeg
is much higher for files of the same size. You can verify this statement on https://squoosh.app/ for example.
Thanks in advance for considering this request.
Paired with this could be more control of compression level. Right now with PDF export there is very little:
https://sourceforge.net/p/naps2/tickets/236/