Images/genicons.sh
author laurent
Tue, 17 Jan 2012 16:44:00 +0100
changeset 625 b7062a7018ec
parent 184 d3e6484ebe85
permissions -rw-r--r--
Adding support for defining a description for a user POU type, and displaying this information in library tree.
Adding support for displaying a tooltip containing the informations of a function block when passing mouse over it in a graphic editor.
#!/bin/bash

INKSCAPE=/cygdrive/c/Program\ Files/Inkscape/inkscape.exe

for i in `cat icons.svg |grep -o -e '%%[^%]*%%'|sed 's/%//g'` 
do
 echo "$INKSCAPE" `cygpath -w \`pwd\`/icons.svg` -z -e `cygpath -w \`pwd\`/$i.png` -i $i
 rm  -f $i.png
 "$INKSCAPE" `cygpath -w \`pwd\`/icons.svg` -z -e `cygpath -w \`pwd\`/$i.png` -i $i
done