A command line tool to convert SSF(small-sketch-format) into SVG, PDF, PNG, JPEG format.
-
Build ssf2img.zip
./gradlew distZipand build/distributions/ssf2img.zip is generated. -
Install ssf2img command
Unzip ssf2img.zip in somewhere you want -
Convert ssf to png
cat foo.ssf | /path/to/ssf2img/bin/ssf2img > foo.png -
Convert ssf to png with style
cat foo.ssf | /path/to/ssf2img/bin/ssf2img -s style.json > foo.png
There are example style files in this project examples dir. -
Convert ssf to svg with style
cat foo.ssf | /path/to/ssf2img/bin/ssf2img -f svg -s style.json > foo.svg -
Convert ssf to pdf with style
cat foo.ssf | /path/to/ssf2img/bin/ssf2img -f pdf -s style.json > foo.pdf -
Convert ssf to jpg with style
cat foo.ssf | /path/to/ssf2img/bin/ssf2img -f jpg -s style.json > foo.jpg
There are some example ssf files and style json files in the ./examples.
See the LICENSE file for license rights and limitations (MIT).