9.18.2015

Image Conversion Cheat Sheet

画像変換チートシート

 

コマンドラインで画像変換を完結するためのメモ。

svg -> png

/Applications/Inkscape.app/Contents/Resources/bin/inkscape \
--without-gui --export-width={{ WIDTH }} \
--file {{ INPUT }}.svg --export-png={{ OUTPUT }}.png

Note: In the inkspace command, current working directory will be set to /Applications/Inkscape.app.

png -> eps

convert -background white -layers merge {{ INPUT }}.png {{ OUTPUT }}.eps

0 件のコメント:

コメントを投稿