Class PopplerRenderer

java.lang.Object
org.apache.tika.renderer.pdf.poppler.PopplerRenderer
All Implemented Interfaces:
Serializable, SelfConfiguring, Renderer

public class PopplerRenderer extends Object implements Renderer
Renders PDF pages through Poppler's pdftoppm, one call per page at the dpi the RenderSettings the parse scoped (else this renderer's own) resolve to for that page: the target dpi, lowered so the page fits the box and its long side stays within maxScaleTo, never raised. A page over maxImagePixels is skipped with a warning. Page sizes come from the PDDocument the parser leaves as the stream's open container, else from a load of the file.

Poppler is pre-installed on most Linux distributions and is the fastest widely-available PDF renderer. On macOS it can be installed via brew install poppler; on Windows via MSYS2 or Chocolatey.

Configuration key: "poppler-renderer"

Since:
Apache Tika 4.0
See Also: