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
-
What's new in version 1.24
pngquant
instead of JPEGUse
pngquant
instead of JPEGIn version 1.23 we use
exiftool
to optimize the PDF, but it sometimes transforms the images in ugly JPEG.In version 1.24 we can use
pngquant
to quantize the PNG.By default, none of them are activated, to activate pngquant, use the
args
run_exiftool
and set it totrue
.To use pngquant set the
args
run_pngquant
totrue
, 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-clipboard
that 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_black
andcut_white
in the documentationDon't miss the documentation
Beta Was this translation helpful? Give feedback.
All reactions