etherlab/images/genicons.sh
author Edouard Tisserant <edouard.tisserant@gmail.com>
Tue, 13 Sep 2022 16:22:09 +0200
branchwxPython4
changeset 3591 50600b946ea7
parent 2043 27d4cb689a79
permissions -rw-r--r--
OPC-US client: add support for x509 and user+password authentication.

Commit for backup not including tests since encrypted OPC-UA test are still not valid.
#!/bin/bash

INKSCAPE=inkscape

for i in `cat icons.svg |grep -o -e '%%[^%]*%%'|sed 's/%//g'` 
do
 if [ $i.png -nt icons.svg ]; then
 	echo "Skip $i"
 else
	rm  -f $i.png
	echo "$INKSCAPE" icons.svg -z -e $i.png -i $i
	"$INKSCAPE" icons.svg -z -e $i.png -i $i
 fi
done