From 98c41f322386166453eb2b51d02490c328801bd9 Mon Sep 17 00:00:00 2001 From: fritz-hh Date: Fri, 3 Oct 2014 15:44:14 +0200 Subject: [PATCH 1/3] typo in usage --- OCRmyPDF.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OCRmyPDF.sh b/OCRmyPDF.sh index 296e6b3e..d92f7048 100644 --- a/OCRmyPDF.sh +++ b/OCRmyPDF.sh @@ -37,8 +37,7 @@ Usage: OCRmyPDF.sh [-h] [-v] [-g] [-k] [-d] [-c] [-i] [-o dpi] [-f] [-l languag - Do not delete the temporary files -d : Deskew each page before performing OCR -c : Clean each page before performing OCR --i : Incorporate the cleaned image in the final PDF file (by default the original image - image, or the deskewed image if the -d option is set) +-i : Incorporate the cleaned image in the final PDF file (by default the original image, or the deskewed image if the -d option is set) -o : If the resolution of an image is lower than dpi value provided as argument, provide the OCR engine with an oversampled image having the latter dpi value. This can improve the OCR results but can lead to a larger output PDF file. (default: no oversampling performed) From 9c6fedb15b99b9714a540c76a2102b5cc0828b77 Mon Sep 17 00:00:00 2001 From: fritz-hh Date: Fri, 3 Oct 2014 16:07:06 +0200 Subject: [PATCH 2/3] usage corrected [-f|-s] --- OCRmyPDF.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OCRmyPDF.sh b/OCRmyPDF.sh index d92f7048..c5a85a1a 100644 --- a/OCRmyPDF.sh +++ b/OCRmyPDF.sh @@ -25,7 +25,7 @@ tesseract engine) Copyright: fritz-hh from Github (https://github.com/fritz-hh) Version: $VERSION -Usage: OCRmyPDF.sh [-h] [-v] [-g] [-k] [-d] [-c] [-i] [-o dpi] [-f] [-l language] [-C filename] inputfile outputfile +Usage: OCRmyPDF.sh [-h] [-v] [-g] [-k] [-d] [-c] [-i] [-o dpi] [-f|-s] [-l lan1[+lan2...]] [-C filename] inputfile outputfile -h : Display this help message -v : Increase the verbosity (this option can be used more than once) (e.g. -vvv) From a14af5b9eeea786c9c1ca7a785d4f5c68a051c4f Mon Sep 17 00:00:00 2001 From: fritz-hh Date: Fri, 3 Oct 2014 16:18:20 +0200 Subject: [PATCH 3/3] make clear it is a draft from v2.x branch --- src/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.sh b/src/config.sh index 89205622..b80167ee 100644 --- a/src/config.sh +++ b/src/config.sh @@ -13,7 +13,7 @@ DEFAULT_DPI=300 # dpi value used as fall back if the page dpi cannot be deter ##################################################################################### TOOLNAME="OCRmyPDF" -VERSION="v2.2-stable" +VERSION="v2.x" # possible exit codes EXIT_BAD_ARGS="1"