1.24 [12.09.2022] #744
sbrunner
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What's new in version 1.24
pngquantinstead of JPEGUse
pngquantinstead of JPEGIn version 1.23 we use
exiftoolto optimize the PDF, but it sometimes transforms the images in ugly JPEG.In version 1.24 we can use
pngquantto quantize the PNG.By default, none of them are activated, to activate pngquant, use the
argsrun_exiftooland set it totrue.To use pngquant set the
argsrun_pngquanttotrue, you can also addpngquant_options, by defaultit uses:
["--skip-if-larger", "--speed=1", "--strip", "--quality=0-32"].Add QR code content
In version 2.14 a new page is added at the end of your PDF with the content of all the detected codes.
You can use all the environment variable that starts with
SCAN_CODES_to configure it, see theREADME.md.And to be able to scan the (QR)Codes from other sources, I add a new folder
/scan-codes.Note that in the QRbill there are some important empty lines, that didn't work with PDF copy, then I add a pipe in those lines, and
you can run
scan --convert-clipboardthat will scan your clipboard to do the inverse transform.Support of double-sided roller scanner
I buy a new scanner: HP Scanjet Pro 2000 s2
And it didn't work out of the box, then I do the following changes:
The configuration I use with my new scanner:
Other changes
Scan to Paperless 2022-08-13 03:47:48, Tesseract 4.1.1)cut_blackandcut_whitein the documentationDon't miss the documentation
Beta Was this translation helpful? Give feedback.
All reactions