From 32027e2a51c93c7d2128031fa174b6875ea0f730 Mon Sep 17 00:00:00 2001 From: Daniel Birket Date: Fri, 23 Jul 2021 13:28:55 -0400 Subject: [PATCH] ocrmypdf: add page (#6259) --- pages/common/ocrmypdf.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/ocrmypdf.md diff --git a/pages/common/ocrmypdf.md b/pages/common/ocrmypdf.md new file mode 100644 index 0000000000..cbdcdfbf72 --- /dev/null +++ b/pages/common/ocrmypdf.md @@ -0,0 +1,28 @@ +# ocrmypdf + +> Generate a searchable PDF or PDF/A from a scanned PDF or an image of text. +> More information: . + +- Create a new searchable PDF/A file from a scanned PDF or image file: + +`ocrmypdf {{path/to/input_file}} {{path/to/output.pdf}}` + +- Replace a scanned PDF file with a searchable PDF file: + +`ocrmypdf {{path/to/input.pdf}}` + +- Skip pages of a mixed-format input PDF file that already contain text: + +`ocrmypdf --skip-text {{path/to/input.pdf}} {{path/to/output.pdf}}` + +- Clean, de-skew, and rotate pages of a poor scan: + +`ocrmypdf --clean --deskew --rotate-pages {{path/to/input_file}} {{path/to/output.pdf}}` + +- Set the metadata of the searchable PDF file: + +`ocrmypdf --title "{{title}}" --author "{{author}}" --subject "{{subject}}" --keywords "{{keyword; key phrase; ...}}" {{path/to/input_file}} {{path/to/output.pdf}}` + +- Display help: + +`ocrmypdf --help`