mirror of
https://github.com/rocketraman/sane-scan-pdf.git
synced 2025-05-15 15:10:12 -07:00
unpaper: add deskew-scan-range for better deskew
This commit is contained in:
parent
966328a9e3
commit
31ef706c47
@ -93,8 +93,8 @@ process_page() {
|
|||||||
if [[ $VERBOSE == 1 ]]; then
|
if [[ $VERBOSE == 1 ]]; then
|
||||||
UNPAPERVERBOSE="-v"
|
UNPAPERVERBOSE="-v"
|
||||||
fi
|
fi
|
||||||
#runconstrained $TIMEVERBOSE unpaper $UNPAPERVERBOSE --no-mask-scan --overwrite --dpi $RESOLUTION --no-blackfilter $IMAGE_FILE $PP_PREFIX$IMAGE_FILE | logstdout
|
#runconstrained $TIMEVERBOSE unpaper $UNPAPERVERBOSE --no-mask-scan --overwrite --deskew-scan-range=35 --dpi $RESOLUTION --no-blackfilter $IMAGE_FILE $PP_PREFIX$IMAGE_FILE | logstdout
|
||||||
runconstrained $TIMEVERBOSE unpaper $UNPAPERVERBOSE --overwrite --dpi $RESOLUTION $IMAGE_PATH $IMAGE_DIR/$PP_PREFIX$IMAGE_FILE | logstdout
|
runconstrained $TIMEVERBOSE unpaper $UNPAPERVERBOSE --overwrite --deskew-scan-range=35 --dpi $RESOLUTION $IMAGE_PATH $IMAGE_DIR/$PP_PREFIX$IMAGE_FILE | logstdout
|
||||||
fi
|
fi
|
||||||
if [[ $SEARCHABLE == 1 ]]; then
|
if [[ $SEARCHABLE == 1 ]]; then
|
||||||
log "Converting image data to searchable pdf..."
|
log "Converting image data to searchable pdf..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user