From f656c00f41a02e395fa8e40b6588b0fccb07136a Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Mon, 18 May 2020 01:27:45 -0700 Subject: [PATCH] docs: Note about OCRmyPDF speed --- docs/index.rst | 1 + docs/performance.rst | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 docs/performance.rst diff --git a/docs/index.rst b/docs/index.rst index e28f3234..bf042ae1 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -27,6 +27,7 @@ image processing and OCR to existing PDFs. advanced batch security + performance errors .. toctree:: diff --git a/docs/performance.rst b/docs/performance.rst new file mode 100644 index 00000000..82625fc0 --- /dev/null +++ b/docs/performance.rst @@ -0,0 +1,22 @@ +=========== +Performance +=========== + +Some users have noticed that current versions of OCRmyPDF do not run as quickly +as some older versions (specifically 6.x and older). This is because OCRmyPDF +added image optimization as a postprocessing step, and it is enabled by default. + +Speed +===== + +If running OCRmyPDF quickly is your main goal, you can use settings such as: + +* ``--optimize 0`` to disable file size optimization +* ``--output-type pdf`` to disable PDF/A generation +* ``--fast-web-view 0`` to disable fast web view optimization +* ``--skip-big`` to skip large images, if some pages have large images + +You can also avoid: + +* ``--force-ocr`` +* Image preprocessing