diff --git a/LICENSE.md b/LICENSE.md deleted file mode 100644 index 03fae0b8..00000000 --- a/LICENSE.md +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2013 fritz-hh from Github - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/LICENSE.rst b/LICENSE.rst new file mode 100644 index 00000000..382e058d --- /dev/null +++ b/LICENSE.rst @@ -0,0 +1,20 @@ +Copyright (c) 2013 fritz-hh from Github + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md deleted file mode 100644 index 12f27e82..00000000 --- a/README.md +++ /dev/null @@ -1,69 +0,0 @@ -OCRmyPDF -======== - -OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched - -To get the script usage, call: sh ./OCRmyPDF.sh -h - -Main features -------------- - -- Generates a searchable [PDF/A](https://en.wikipedia.org/?title=PDF/A) file from a PDF file containing only images -- Places OCRed text accurately below the image to ease copy / paste -- Keeps the exact resolution of the original embedded images - - or if requested oversamples the images before OCRing so as to get better results -- If requested deskews and / or clean the image before performing OCR -- Validates the generated file against the PDF/A-1b specification using [JHOVE](http://jhove.sourceforge.net/) -- Provides debug mode to enable easy verification of the OCR results -- Processes several pages in parallel if more than one CPU core is available - -For details: please consult the release notes - -Motivation ----------- - -I searched the web for a free command line tool to OCR PDF files on Linux/UNIX: -I found many, but none of them were really satisfying. -- Either they produced PDF files with misplaced text under the image (making copy/paste impossible) -- Or they did not display correctly some escaped HTML characters located in the hocr file produced by the OCR engine -- Or they changed the resolution of the embedded images -- Or they generated PDF file having a ridiculous big size -- Or they crashed when trying to OCR some of my PDF files -- Or they did not produce valid PDF files (even though they were readable with my current PDF reader) -- On top of that none of them produced PDF/A files (format dedicated for long time storage / archiving) - -... so I decided to develop my own tool (using various existing scripts as an inspiration) - -Install -------- - -Download OCRmyPDF here: https://github.com/fritz-hh/OCRmyPDF/releases - -Copy the file in onto your linux/unix machine and extract it. - -Run: "sh ./OCRmyPDF.sh -h" to get the script usage - -If not yet installed, the script will notify you about dependencies that need to be installed. -The script requires specific versions of the dependencies. Older version than the ones mentioned in the release notes are likely not to be compatible to OCRmyPDF. - -Support -------- - -In case you detect an issue, please: - -- Check if your issue is already known -- If no problem report exists on github, please create one here: https://github.com/fritz-hh/OCRmyPDF/issues -- Describe your problem thoroughly -- Append the console output of the script when running the debug mode (-g option) -- If possible provide your input PDF file as well as the content of the temporary folder (using a file sharing service like www.file-upload.net) - -Press & Media -------------- - -- [c't 1-2014, page 59](http://www.heise.de/ct/inhalt/2014/1/58/): Detailed presentation of OCRmyPDF v1.0 in the leading German IT magazine c't -- [heise Open Source, 09/2014: Texterkennung mit OCRmyPDF](http://www.heise.de/-2356670) - -Disclaimer ----------- - -The software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/README.rst b/README.rst new file mode 100644 index 00000000..05a22486 --- /dev/null +++ b/README.rst @@ -0,0 +1,90 @@ +OCRmyPDF +======== + +OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to +be searched + +To get the script usage, call: sh ./OCRmyPDF.sh -h + +Main features +------------- + +- Generates a searchable + `PDF/A `__ file from a PDF + file containing only images +- Places OCRed text accurately below the image to ease copy / paste +- Keeps the exact resolution of the original embedded images + + - or if requested oversamples the images before OCRing so as to get + better results + +- If requested deskews and / or clean the image before performing OCR +- Validates the generated file against the PDF/A-1b specification using + `JHOVE `__ +- Provides debug mode to enable easy verification of the OCR results +- Processes several pages in parallel if more than one CPU core is + available + +For details: please consult the release notes + +Motivation +---------- + +I searched the web for a free command line tool to OCR PDF files on +Linux/UNIX: I found many, but none of them were really satisfying. - +Either they produced PDF files with misplaced text under the image +(making copy/paste impossible) - Or they did not display correctly some +escaped HTML characters located in the hocr file produced by the OCR +engine - Or they changed the resolution of the embedded images - Or they +generated PDF file having a ridiculous big size - Or they crashed when +trying to OCR some of my PDF files - Or they did not produce valid PDF +files (even though they were readable with my current PDF reader) - On +top of that none of them produced PDF/A files (format dedicated for long +time storage / archiving) + +... so I decided to develop my own tool (using various existing scripts +as an inspiration) + +Install +------- + +Download OCRmyPDF here: https://github.com/fritz-hh/OCRmyPDF/releases + +Copy the file in onto your linux/unix machine and extract it. + +Run: "sh ./OCRmyPDF.sh -h" to get the script usage + +If not yet installed, the script will notify you about dependencies that +need to be installed. The script requires specific versions of the +dependencies. Older version than the ones mentioned in the release notes +are likely not to be compatible to OCRmyPDF. + +Support +------- + +In case you detect an issue, please: + +- Check if your issue is already known +- If no problem report exists on github, please create one here: + https://github.com/fritz-hh/OCRmyPDF/issues +- Describe your problem thoroughly +- Append the console output of the script when running the debug mode + (-g option) +- If possible provide your input PDF file as well as the content of the + temporary folder (using a file sharing service like + www.file-upload.net) + +Press & Media +------------- + +- `c't 1-2014, page 59 `__: + Detailed presentation of OCRmyPDF v1.0 in the leading German IT + magazine c't +- `heise Open Source, 09/2014: Texterkennung mit + OCRmyPDF `__ + +Disclaimer +---------- + +The software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, either express or implied. diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md deleted file mode 100644 index e06520a3..00000000 --- a/RELEASE_NOTES.md +++ /dev/null @@ -1,329 +0,0 @@ -RELEASE NOTES -============= - -Please always read this file before installing the package - -Download software here: https://github.com/fritz-hh/OCRmyPDF/tags - - -v3.0-rc1: -======= - - -Changes -------- - -- New, robust Python 3.4+ implementation based on ruffus pipelines - - All "tasks" in the pipeline can be executed in parallel on any available CPUs -- Removed dependencies on several packages: - - parallel - - ImageMagick - - Python 2.7 - - shell -- Updated dependencies - - Ghostscript 9.14 - - Unpaper 6.1 (now optional) - - Tesseract 3.02 and 3.03 - - Python's reportlab 3 -- Unpaper 6.1 is now an optional dependency - -Fixes ------ - -- Document metadata from the source PDF is copied to the output PDF (Title, Author, etc.) - - -v2.1-stable (2014-09-20): -======= - -New features ------------- - -- None - -Changes -------- - -- None - -Fixes ------ - -- Allow execution via simlink -- Add support for tesseract 3.03 -- Add support for newer version of reportlab -- Lowered minimum version of gnu parallel -- Various typo - -Tested with ------------ - -- Operating system: FreeBSD 9.1 -- Dependencies: - - parallel 20130222 - - poppler-utils 0.22.2 - - ImageMagick 6.8.0-7 2013-03-30 - - Unpaper 0.3 - - tesseract 3.02.02 - - Python 2.7.3 - - ghoscript (gs): 9.06 - - java: openjdk version "1.7.0_17" - -v2.0-stable (2014-01-25): -======= - -New features ------------- - -- Check if the language(s) passed using the -l option is supported by tesseract (fixes #60) - -Changes -------- - -- Allow OCRmyPDF to be used with tesseract 3.02.01, even though OCR might fail for few PDF file (see issue #28). Rationale: For some linux distribution, no newer version than tesseract 3.02.01 is available - -Fixes ------ - -- More robust algorithm for checking the version of the installed tesseract package - -Tested with ------------ - -- Operating system: FreeBSD 9.1 -- Dependencies: - - parallel 20130222 - - poppler-utils 0.22.2 - - ImageMagick 6.8.0-7 2013-03-30 - - Unpaper 0.3 - - tesseract 3.02.02 - - Python 2.7.3 - - ghoscript (gs): 9.06 - - java: openjdk version "1.7.0_17" - -v2.0-rc2 (2014-01-16): -======= - -New features ------------- - -- None - -Changes -------- - -- Size reduction of final PDF file: (fixes #50) - - Support for monochrome (Black&White) images (massive size reduction in final PDF: >80%) - - Reduced size of grayscale images (by 13% on test PDF file) -- Preventing fi, fl ligatures does not require anymore to pass an additional config file to tesseract using the -C option (fixes #58) -- Location of temporary folder according to content of environment variable TMPDIR. -- Dependency to pdftk removed -- Check for compatible versions of dependencies: (fixes #51) - - parallel and tesseract - - python libraries reportlab and lxml - -Fixes ------ - -- Improved portability with various shells (dash, bash, tcsh) and OS (FreeBSD, MAC OSX, Linux) (fixes #59) -- Corrected bug in case the input PDF file contains a space character (fixes #48) -- Prevent spurious error message in case there is no image in a PDF page -- Prevent collision of temporary folder names (fixes #57) - -Tested with ------------ - -- Operating system: FreeBSD 9.1 -- Dependencies: - - parallel 20130222 - - poppler-utils 0.22.2 - - ImageMagick 6.8.0-7 2013-03-30 - - Unpaper 0.3 - - tesseract 3.02.02 - - Python 2.7.3 - - ghoscript (gs): 9.06 - - java: openjdk version "1.7.0_17" - -v2.0-rc1 (2014-01-07): -==== - -New features ------------- - -- Huge performance improvement on machines having multiple CPU/cores (processing of several pages concurrently) (fixes #18) -- By default prevent from processing a PDF file already containing fonts (i.e. text)(it can be overridden with the -f flag) (fixes #16) -- Warn if the resolution is too low to get reasonable OCR results (fixes #37) -- New option (-o) to perform automatic oversampling if the image resolution is too low. This can improve OCR results. -- Warn if using a tesseract version older than v3.02.02 (as older versions are known to produce invalid output) (fixes #41) -- Echo version of the installed dependencies (e.g. tesseract) in debug mode in order to ease support (fixes #35) -- Echo the arguments passed to the script in debug mode to ease support - -Changes -------- - -- In debug mode: The debug page is now placed after the respective "normal" page -- Reduced disk space usage in temporary folder if -d (deskew) or -c (cleanup) options are not selected -- New file src/config.sh containing various configuration parameters -- Documentation of the tesseract config file "tess-cfg/no_ligature" improved -- Improved consistency of the temporary file names - -Fixes ------ - -- Improved robustness: - - in case vertical resolution differs from horizontal resolution (fixes #38) - - in case a PDF page contains more than one image (fixes #36) -- Fix a problem occurring if python 3 is the standard interpreter (fixes #33) -- Fix a problem occurring if the input PDF file contains special characters like "#" (fixes #34) - -Tested with ------------ - -- Operating system: FreeBSD 9.1 -- Dependencies: - - parallel 20130222 - - poppler-utils 0.22.2 - - ImageMagick 6.8.0-7 2013-03-30 - - Unpaper 0.3 - - tesseract 3.02.02 - - Python 2.7.3 - - pdftk 1.45 - - ghoscript (gs): 9.06 - - java: openjdk version "1.7.0_17" - -v1.1-stable (2014-01-06): -==== - -New features ------------- - -- N/A - -Changes -------- - -- N/A - -Fixes ------ - -- Fixed syntax error (bashism) leading to an error message on certain systems (fixes #42) - -Tested with ------------ - -- Operating system: FreeBSD 9.1 -- Dependencies: - - poppler-utils 0.22.2 - - ImageMagick 6.8.0-7 2013-03-30 - - Unpaper 0.3 - - tesseract 3.02.02 - - Python 2.7.3 - - pdftk 1.45 - - ghoscript (gs): 9.06 - - java: openjdk version "1.7.0_17" - -v1.0-stable (2013-05-06): -==== - -New features ------------- - -- In debug mode: compute and echo time required for processing (fixes #26) - -Changes -------- - -- Removed feature to add metadata in final pdf file (because it lead to to final PDF file that does not comply to the PDF/A-1 format) -- Removed feature to set same owner & permissions in final PDF file than in input file -- Removed many unused jhove files (e.g. documentation, *.java and *.class files) - -Fixes ------ - -- Correction to handle correctly path and input PDF files having spaces (fixes #31) -- Resolutions (x/y) that are nearly equal are now supported (fixes #25) -- Fix compatibility issue with Ubuntu server 12.04 / Ubuntu server 10.04 / Linux Mint 13 Maya and probably other Linux distributions (fixes #27) -- Commit missing jhove files (*.jar mainly) due to wrong .gitignore - -Tested with ------------ - -- Operating system: FreeBSD 9.1 -- Dependencies: - - poppler-utils 0.22.2 - - ImageMagick 6.8.0-7 2013-03-30 - - Unpaper 0.3 - - tesseract 3.02.02 - - Python 2.7.3 - - pdftk 1.45 - - ghoscript (gs): 9.06 - - java: openjdk version "1.7.0_17" - -v1.0-rc2 (2013-04-29): -==== - -New features ------------- - -- Keep temporary files if debug mode is set (fixes #22) -- Set same owner & permissions in final PDF file than in input file (fixes #9) -- Added metadata in final pdf file (fixes #4) - -Changes -------- - -- N/A - -Fixes ------ - -- Fixed wrong image cropping when deskew option is activated -- Exit with error message if page size is not found in hocr file (fixes #21) -- Various minor fixes in log messages - -Tested with ------------ - -- Operating system: FreeBSD 9.1 -- Dependencies: - - poppler-utils 0.22.2 - - ImageMagick 6.8.0-7 2013-03-30 - - Unpaper 0.3 - - tesseract 3.02.02 - - Python 2.7.3 - - pdftk 1.45 - - ghoscript (gs): 9.06 - - java: openjdk version "1.7.0_17" - -v1.0-rc1 (2013-04-26): -==== - -New features ------------- - -- First release candidate - -Changes -------- - -- N/A - -Fixes ------ - -- N/A - -Tested with ------------ - -- Operating system: FreeBSD 9.1 -- Dependencies: - - poppler-utils 0.22.2 - - ImageMagick 6.8.0-7 2013-03-30 - - Unpaper 0.3 - - tesseract 3.02.02 - - Python 2.7.3 - - pdftk 1.45 - - ghoscript (gs): 9.06 - - java: openjdk version "1.7.0_17" diff --git a/RELEASE_NOTES.rst b/RELEASE_NOTES.rst new file mode 100644 index 00000000..11453687 --- /dev/null +++ b/RELEASE_NOTES.rst @@ -0,0 +1,361 @@ +RELEASE NOTES +============= + +Please always read this file before installing the package + +Download software here: https://github.com/fritz-hh/OCRmyPDF/tags + +v3.0-rc1: +========= + +Changes +------- + +- New, robust Python 3.4+ implementation based on ruffus pipelines +- All "tasks" in the pipeline can be executed in parallel on any + available CPUs +- Removed dependencies on several packages: +- parallel +- ImageMagick +- Python 2.7 +- shell +- Updated dependencies +- Ghostscript 9.14 +- Unpaper 6.1 (now optional) +- Tesseract 3.02 and 3.03 +- Python's reportlab 3 +- Unpaper 6.1 is now an optional dependency + +Fixes +----- + +- Document metadata from the source PDF is copied to the output PDF + (Title, Author, etc.) + +v2.1-stable (2014-09-20): +========================= + +New features +------------ + +- None + +Changes +------- + +- None + +Fixes +----- + +- Allow execution via simlink +- Add support for tesseract 3.03 +- Add support for newer version of reportlab +- Lowered minimum version of gnu parallel +- Various typo + +Tested with +----------- + +- Operating system: FreeBSD 9.1 +- Dependencies: +- parallel 20130222 +- poppler-utils 0.22.2 +- ImageMagick 6.8.0-7 2013-03-30 +- Unpaper 0.3 +- tesseract 3.02.02 +- Python 2.7.3 +- ghoscript (gs): 9.06 +- java: openjdk version "1.7.0\_17" + +v2.0-stable (2014-01-25): +========================= + +New features +------------ + +- Check if the language(s) passed using the -l option is supported by + tesseract (fixes #60) + +Changes +------- + +- Allow OCRmyPDF to be used with tesseract 3.02.01, even though OCR + might fail for few PDF file (see issue #28). Rationale: For some + linux distribution, no newer version than tesseract 3.02.01 is + available + +Fixes +----- + +- More robust algorithm for checking the version of the installed + tesseract package + +Tested with +----------- + +- Operating system: FreeBSD 9.1 +- Dependencies: +- parallel 20130222 +- poppler-utils 0.22.2 +- ImageMagick 6.8.0-7 2013-03-30 +- Unpaper 0.3 +- tesseract 3.02.02 +- Python 2.7.3 +- ghoscript (gs): 9.06 +- java: openjdk version "1.7.0\_17" + +v2.0-rc2 (2014-01-16): +====================== + +New features +------------ + +- None + +Changes +------- + +- Size reduction of final PDF file: (fixes #50) +- Support for monochrome (Black&White) images (massive size reduction + in final PDF: >80%) +- Reduced size of grayscale images (by 13% on test PDF file) +- Preventing fi, fl ligatures does not require anymore to pass an + additional config file to tesseract using the -C option (fixes #58) +- Location of temporary folder according to content of environment + variable TMPDIR. +- Dependency to pdftk removed +- Check for compatible versions of dependencies: (fixes #51) +- parallel and tesseract +- python libraries reportlab and lxml + +Fixes +----- + +- Improved portability with various shells (dash, bash, tcsh) and OS + (FreeBSD, MAC OSX, Linux) (fixes #59) +- Corrected bug in case the input PDF file contains a space character + (fixes #48) +- Prevent spurious error message in case there is no image in a PDF + page +- Prevent collision of temporary folder names (fixes #57) + +Tested with +----------- + +- Operating system: FreeBSD 9.1 +- Dependencies: +- parallel 20130222 +- poppler-utils 0.22.2 +- ImageMagick 6.8.0-7 2013-03-30 +- Unpaper 0.3 +- tesseract 3.02.02 +- Python 2.7.3 +- ghoscript (gs): 9.06 +- java: openjdk version "1.7.0\_17" + +v2.0-rc1 (2014-01-07): +====================== + +New features +------------ + +- Huge performance improvement on machines having multiple CPU/cores + (processing of several pages concurrently) (fixes #18) +- By default prevent from processing a PDF file already containing + fonts (i.e. text)(it can be overridden with the -f flag) (fixes #16) +- Warn if the resolution is too low to get reasonable OCR results + (fixes #37) +- New option (-o) to perform automatic oversampling if the image + resolution is too low. This can improve OCR results. +- Warn if using a tesseract version older than v3.02.02 (as older + versions are known to produce invalid output) (fixes #41) +- Echo version of the installed dependencies (e.g. tesseract) in debug + mode in order to ease support (fixes #35) +- Echo the arguments passed to the script in debug mode to ease support + +Changes +------- + +- In debug mode: The debug page is now placed after the respective + "normal" page +- Reduced disk space usage in temporary folder if -d (deskew) or -c + (cleanup) options are not selected +- New file src/config.sh containing various configuration parameters +- Documentation of the tesseract config file "tess-cfg/no\_ligature" + improved +- Improved consistency of the temporary file names + +Fixes +----- + +- Improved robustness: +- in case vertical resolution differs from horizontal resolution (fixes + #38) +- in case a PDF page contains more than one image (fixes #36) +- Fix a problem occurring if python 3 is the standard interpreter + (fixes #33) +- Fix a problem occurring if the input PDF file contains special + characters like "#" (fixes #34) + +Tested with +----------- + +- Operating system: FreeBSD 9.1 +- Dependencies: +- parallel 20130222 +- poppler-utils 0.22.2 +- ImageMagick 6.8.0-7 2013-03-30 +- Unpaper 0.3 +- tesseract 3.02.02 +- Python 2.7.3 +- pdftk 1.45 +- ghoscript (gs): 9.06 +- java: openjdk version "1.7.0\_17" + +v1.1-stable (2014-01-06): +========================= + +New features +------------ + +- N/A + +Changes +------- + +- N/A + +Fixes +----- + +- Fixed syntax error (bashism) leading to an error message on certain + systems (fixes #42) + +Tested with +----------- + +- Operating system: FreeBSD 9.1 +- Dependencies: +- poppler-utils 0.22.2 +- ImageMagick 6.8.0-7 2013-03-30 +- Unpaper 0.3 +- tesseract 3.02.02 +- Python 2.7.3 +- pdftk 1.45 +- ghoscript (gs): 9.06 +- java: openjdk version "1.7.0\_17" + +v1.0-stable (2013-05-06): +========================= + +New features +------------ + +- In debug mode: compute and echo time required for processing (fixes + #26) + +Changes +------- + +- Removed feature to add metadata in final pdf file (because it lead to + to final PDF file that does not comply to the PDF/A-1 format) +- Removed feature to set same owner & permissions in final PDF file + than in input file +- Removed many unused jhove files (e.g. documentation, *.java and + *.class files) + +Fixes +----- + +- Correction to handle correctly path and input PDF files having spaces + (fixes #31) +- Resolutions (x/y) that are nearly equal are now supported (fixes #25) +- Fix compatibility issue with Ubuntu server 12.04 / Ubuntu server + 10.04 / Linux Mint 13 Maya and probably other Linux distributions + (fixes #27) +- Commit missing jhove files (\*.jar mainly) due to wrong .gitignore + +Tested with +----------- + +- Operating system: FreeBSD 9.1 +- Dependencies: +- poppler-utils 0.22.2 +- ImageMagick 6.8.0-7 2013-03-30 +- Unpaper 0.3 +- tesseract 3.02.02 +- Python 2.7.3 +- pdftk 1.45 +- ghoscript (gs): 9.06 +- java: openjdk version "1.7.0\_17" + +v1.0-rc2 (2013-04-29): +====================== + +New features +------------ + +- Keep temporary files if debug mode is set (fixes #22) +- Set same owner & permissions in final PDF file than in input file + (fixes #9) +- Added metadata in final pdf file (fixes #4) + +Changes +------- + +- N/A + +Fixes +----- + +- Fixed wrong image cropping when deskew option is activated +- Exit with error message if page size is not found in hocr file (fixes + #21) +- Various minor fixes in log messages + +Tested with +----------- + +- Operating system: FreeBSD 9.1 +- Dependencies: +- poppler-utils 0.22.2 +- ImageMagick 6.8.0-7 2013-03-30 +- Unpaper 0.3 +- tesseract 3.02.02 +- Python 2.7.3 +- pdftk 1.45 +- ghoscript (gs): 9.06 +- java: openjdk version "1.7.0\_17" + +v1.0-rc1 (2013-04-26): +====================== + +New features +------------ + +- First release candidate + +Changes +------- + +- N/A + +Fixes +----- + +- N/A + +Tested with +----------- + +- Operating system: FreeBSD 9.1 +- Dependencies: +- poppler-utils 0.22.2 +- ImageMagick 6.8.0-7 2013-03-30 +- Unpaper 0.3 +- tesseract 3.02.02 +- Python 2.7.3 +- pdftk 1.45 +- ghoscript (gs): 9.06 +- java: openjdk version "1.7.0\_17"