Public | Automated Build

Last pushed: 10 months ago
Short Description
Docker Image with XML and SVG Tools to play with SVGs
Full Description

docker-xml-and-svg-tools

Docker-Image with XML and SVG Tools to play with SVGs.
You can use xmlstarlet and rsvg binaries.


 

Prerequisites


 

Usage

If you have something like demo/convert-icons.sh. (See demo folder)

#!/bin/sh

rsvg -w 32 -h 32 /icons/icons/circle.svg -o /icons/build/circle-32.png

And a folder demo/icons/ with a circle.svg you can do

docker run \
    -i -t \
    -v $(pwd)/demo/:/icons/ \
    codeclou/docker-xml-and-svg-tools:latest \
    sh /icons/convert-icons.sh

To create demo/build/circle-32.png from the svg.


 

License, Liability & Support

Docker Pull Command
Owner
codeclou