Re: Icon sets
Posted by
Rallaz on
Sep 26, 2012; 8:11am
URL: https://forum.librecad.org/Icon-sets-tp5707060p5707065.html
To rasterize the icons:
open librecad-icons_icons_wed.svg with Inkscape and set all layers visible (is easy with layer->layers...) and save as lc-icons.svg
in command line execute:
inkscape -C -j -z -w 124 -h 124 -y 0 -i layer5 -e menu_splines.png lc-icons.svg
the above line generates "menu_splines.png" of size 124x124 and trasparent background
using only the object with id="layer5"
Read
http://inkscape.org/doc/inkscape-man.html for more info.
To automate it, is required a bash script that read the svg and generate the command line parsing:
inkscape:groupmode="layer"
id="layer5"
inkscape:label="menu_splines"