From de61530d4d4fa62cd57afc5f98eabd0f028bf04b Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Fri, 20 Sep 2019 17:02:35 -0700 Subject: [PATCH] docs: fix intermediate file list for v9 --- docs/advanced.rst | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/docs/advanced.rst b/docs/advanced.rst index fbc14d1a..6f8567ba 100644 --- a/docs/advanced.rst +++ b/docs/advanced.rst @@ -322,15 +322,23 @@ working files on a per page basis have the page number as a prefix (starting with page 1), an infix indicates the processing stage, and a suffix indicates the file type. Some important files include: -- ``.page.png`` - what the input page looks like -- ``.image`` - the image we will show the user if we are in a mode that - changes the final appearance; may be in one of several image formats -- ``.text.pdf`` - the OCR file; this will load as a blank page but - should have visible text if checked with a tool like pdftotext or - pdfminder.six -- ``.ocr.png`` - the file that is sent to Tesseract for OCR; depending +- ``_rasterize.png`` - what the input page looks like +- ``_ocr.png`` - the file that is sent to Tesseract for OCR; depending on arguments this may differ from the presentation image -- ``layers.rendered.pdf`` - the composite PDF, before metadata repair - and optimization +- ``_pp_deskew.png`` - the image, after deskewing +- ``_pp_clean.png`` - the image, after cleaning with unpaper +- ``_ocr_tess.pdf`` - the OCR file; appears as a blank page with invisible + text embedded +- ``_ocr_tess.txt`` - the OCR text (not necessarily all text on the page, + if the page is mixed format) +- ``fix_docinfo.pdf`` - a temporary file created to fix the PDF DocumentInfo + data structure +- ``graft_layers.pdf`` - the rendered PDF with OCR layers grafted on +- ``pdfa.pdf`` - ``graft_layers.pdf`` after conversion to PDF/A +- ``pdfa.ps`` - a PostScript file used by Ghostscript for PDF/A conversion +- ``optimize.pdf`` - the PDF generated before optimization +- ``optimize.out.pdf`` - the PDF generated by optimization +- ``origin`` - the input file +- ``origin.pdf`` - the input file or the input image converted to PDF - ``images/*`` - images extracted during the optimization process; here the prefix indicates a PDF object ID not a page number