Skip to content

Commit 83de38e

Browse files
authored
Merge pull request jonaswinkler#1247 from paperless-ngx/bugfix-pikepdf-ocrmypdf-warnings
Bugfix: Adds pngquant and jbig2dec to Docker image
2 parents f4be2e4 + b1b6d50 commit 83de38e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ ARG RUNTIME_PACKAGES="\
9090
tesseract-ocr-fra \
9191
tesseract-ocr-ita \
9292
tesseract-ocr-spa \
93+
# Suggested for OCRmyPDF
94+
pngquant \
95+
# Suggested for pikepdf
96+
jbig2dec \
9397
tzdata \
9498
unpaper \
9599
# Mime type detection

docs/setup.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ writing. Windows is not and will never be supported.
339339
* ``qpdf``
340340
* ``liblept5``
341341
* ``libxml2``
342-
* ``pngquant``
342+
* ``pngquant`` (suggested for certain PDF image optimizations)
343343
* ``zlib1g``
344344
* ``tesseract-ocr`` >= 4.0.0 for OCR
345345
* ``tesseract-ocr`` language packs (``tesseract-ocr-eng``, ``tesseract-ocr-deu``, etc)

0 commit comments

Comments
 (0)