You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (Jira)" <ji...@apache.org> on 2026/09/03 21:37:00 UTC
[jira] [Resolved] (TIKA-4862) Add imageQuality to PDFBoxRenderer
[ https://issues.apache.org/jira/browse/TIKA-4862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Allison resolved TIKA-4862.
-------------------------------
Fix Version/s: 4.1.0
Resolution: Fixed
> Add imageQuality to PDFBoxRenderer
> ----------------------------------
>
> Key: TIKA-4862
> URL: https://issues.apache.org/jira/browse/TIKA-4862
> Project: Tika
> Issue Type: Task
> Reporter: Tim Allison
> Priority: Minor
> Fix For: 4.1.0
>
>
> Default PDFBoxRenderer rendering is png, 300 dpi, gray scale, max compression. The user has no way to alter the compression/image quality.
>
> If we drop compression effort to 0.5 for png, we can get 1.7x faster with only slightly larger pngs.
>
> I discovered this on a run of 1k pdfs from digital corpora. This this cut total render+write time from ~4,960s to ~2,900s.
>
> We can further improve performance further by without loss to OCR quality by dropping to 200 dpi... that'll be a separate ticket.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)