]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Adds a couple packages to the Docker image for ocrmypdf and pikepdf 1247/head
authorTrenton Holmes <holmes.trenton@gmail.com>
Mon, 18 Jul 2022 16:46:31 +0000 (09:46 -0700)
committerTrenton Holmes <holmes.trenton@gmail.com>
Mon, 18 Jul 2022 16:46:31 +0000 (09:46 -0700)
Dockerfile
docs/setup.rst

index 981a194c9d49ccb2bc97c9bf488be905331b3afa..187c75cb1de5b6ac2e605fe97e474b878200fa49 100644 (file)
@@ -90,6 +90,10 @@ ARG RUNTIME_PACKAGES="\
   tesseract-ocr-fra \
   tesseract-ocr-ita \
   tesseract-ocr-spa \
+  # Suggested for OCRmyPDF
+  pngquant \
+  # Suggested for pikepdf
+  jbig2dec \
   tzdata \
   unpaper \
   # Mime type detection
index 60fbc212e7f1946fc0ed4fa0bf410806a9926aa7..3aea5546779a00e221dca0d73fe1081293340699 100644 (file)
@@ -339,7 +339,7 @@ writing. Windows is not and will never be supported.
     *   ``qpdf``
     *   ``liblept5``
     *   ``libxml2``
-    *   ``pngquant``
+    *   ``pngquant`` (suggested for certain PDF image optimizations)
     *   ``zlib1g``
     *   ``tesseract-ocr`` >= 4.0.0 for OCR
     *   ``tesseract-ocr`` language packs (``tesseract-ocr-eng``, ``tesseract-ocr-deu``, etc)