RPE-Poppler
Last modified by Robert Pele on 2021/08/04 08:55
Purpose
This software stack provides Poppler as a PDF Rendering Remote Processing Engine (RPE) through a simple REST API.
Properties
Stack-Description | Remote Processing Engine (RPE), Poppler PDF Rendering |
---|---|
Stack-Image | docker.msg.team/ps/docker-stack-rpe-poppler |
Stack-Version | 21.07.0 |
Stack-Release | 20210724 |
Product-Name | Poppler |
Product-Vendor | Derek Noonburg & Kristian Hagsberg |
Product-Contact | https://poppler.freedesktop.org/ |
Product-Model | Open Source |
Product-License | GPL |
Product-Limits | none |
Implementation Base | C++ |
Execution Base | Operating system - OS |
Initial Start Time | 00:00:08 |
Documentation | https://poppler.freedesktop.org/ |
Topology
The stack consists of 1 container:
- rpe-poppler: application is running here
Configuration
Variable Name | Default | Meaning | |
CFG_POPPLER_PORT | 3000 | ||
CFG_POPPLER_USER | poppler | ||
CFG_POPPLER_PASS | poppler |
See also the variables which control integration of the stack into the reverse proxy.
For changes to take effect the stack has to be reinstalled.
First Steps
The rpe-poppler Docker Compose stack provides the PDF conversion functionality of Poppler's pdftocairo(1) tool behind a small REST interface. It allows one to render a PDF into the formats PDF, PostScript, SVG, PNG, JPEG and TIFF. For PNG, JPEG and TIFF only single pages can be rendered, of course.
Example:
$ curl -D- -s -X POST -F "file=@sample.pdf" \ --basic --user poppler:poppler -o sample.png \ "http://<server>:3000/poppler/png?f=1"
Related Documents