Merge branch 'for-upstream/pdftoppm-error' into for-upstream/mono

This commit is contained in:
Jim Barlow
2014-01-09 16:20:05 -08:00
Regular → Executable
+1 -1
View File
@@ -157,7 +157,7 @@ curImgPixmapClean="$TMP_FLD/$page.cleaned.$ext"
# extract current page as image with correct orientation and resolution
[ $VERBOSITY -ge $LOG_DEBUG ] && echo "Page $page: Extracting image as $ext file (${dpi} dpi)"
! pdftoppm -f $page -l $page -r $dpi $opt "$FILE_INPUT_PDF" > "$curImgPixmap" \
! pdftoppm -f $page -l $page -r $dpi $opt "$FILE_INPUT_PDF" - > "$curImgPixmap" \
&& echo "Could not extract page $page as $ext from \"$FILE_INPUT_PDF\". Exiting..." && exit $EXIT_OTHER_ERROR
# if requested deskew image (without changing its size in pixel)