Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.69 KB

File metadata and controls

37 lines (28 loc) · 1.69 KB

Inkscape with potrace docker image (minidocks/inkscape)

Inkscape is a free and open-source vector graphics editor. It can be used to create or edit vector graphics such as illustrations, diagrams, line arts, charts, logos and complex paintings. Inkscape’s primary vector graphics format is Scalable Vector Graphics (SVG), however, many other formats can be imported and exported.

Potrace is a tool for tracing a bitmap, which means, transforming a bitmap into a smooth, scalable image.

Usage

docker run --rm -v `pwd`:/app -w /app minidocks/inkscape \
    /usr/share/inkscape/screens/about.svg --export-area-drawing --export-pdf=about.pdf

If you want to run GUI:

xhost +
docker run --rm -it -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v `pwd`:/app -w /app minidocks/inkscape

Tags

Tag Size
latest, 1
1