simple-scan pdf compression
Bug #1886279 reported by
Degrange Thomas
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
simple-scan (Ubuntu) |
New
|
Wishlist
|
Unassigned |
Bug Description
Hello,
PDF compression cannot appropriately be configured.
Having taken a look at the latest source code of simple-scan:
1) simple-scan compresses each image in ZLIB or JPEG depending on the compressed size (it keeps the ZLIB version if it is smaller than the JPEG)
2) the "quality" setting only applies to JPEG
With this in mind, I think it is impossible to use simple-scan to create a PDF full of lossless ZLIB images for archiving documents where we want to keep quality at the expense of the size.
Best regards
description: | updated |
Changed in simple-scan (Ubuntu): | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
The code responsible for encoding pdf is available here: /gitlab. gnome.org/ GNOME/simple- scan/-/ blob/master/ src/book. vala#L348
https:/
It is comparing jpeg with zlib: /gitlab. gnome.org/ GNOME/simple- scan/-/ blob/master/ src/book. vala#L479
https:/
How would you like to change it?
What do you think about setting quality to maximum, force zlib compression?