Docker Image for converting draw.io documents to jpeg|png|svg|pdf using drawio-batch.
3.8K
Docker Image for converting draw.io compressed XML-documents to jpeg|png|svg|pdf using drawio-batch.
This image installs Chromium from the Alpine package repos in order to provide a fast build for drawio-batch.
Downloading Chromium via the underlaying puppeteer package would take insanely long.
FROM burnett0/alpine-drawio-batch
docker run
<input-file><output-file>
docker run test.drawio test.jpeg
Available flags:
--quality (Image quality for png|jpeg)
--scale (Scales the output file size for pixel-based output formats)
--format (pdf|svg|png|jpeg) (Not needed because format is determined from the output extension)
docker run burnett0/alpine-drawio-batch -v $(pwd)/src:/src --quality 100 --scale 1.0 src/test.drawio src/test.png
This image is also available for Github Actions:
Content type
Image
Digest
Size
210.4 MB
Last updated
over 5 years ago
docker pull burnett0/alpine-drawio-batch