mirror of
https://github.com/rocketraman/sane-scan-pdf.git
synced 2025-05-18 00:20:31 -07:00
Change white threshold to 99.8
This commit is contained in:
parent
111a8e7572
commit
be6eb44b5d
@ -59,7 +59,7 @@ process_page() {
|
|||||||
log "$IMAGE_PATH has $PERCENTAGE_WHITE % white"
|
log "$IMAGE_PATH has $PERCENTAGE_WHITE % white"
|
||||||
|
|
||||||
PP_PREFIX=
|
PP_PREFIX=
|
||||||
if (( $(echo "$PERCENTAGE_WHITE < 99.99" |bc -l) )); then
|
if (( $(echo "$PERCENTAGE_WHITE < 99.8" |bc -l) )); then
|
||||||
if [ $UNPAPER -eq 1 ]; then
|
if [ $UNPAPER -eq 1 ]; then
|
||||||
log "Applying unpaper post-processing to image data..."
|
log "Applying unpaper post-processing to image data..."
|
||||||
PP_PREFIX="unpaper-"
|
PP_PREFIX="unpaper-"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user