Subversion Repositories HelenOS-doc

Compare Revisions

No changes between revisions

Ignore whitespace Rev 103 → Rev 104

/design/trunk/src/images/convert
0,0 → 1,20
#!/bin/bash
 
for f in `ls *.svg | sed 's/\.svg//g'`;
do
if [ ! -f "$f.eps" ]; then
echo "Converting $f.svg to $f.eps";
inkscape --without-gui --export-eps=$f.eps $f.svg
fi
 
if [ ! -f "$f.pdf" ]; then
echo "Converting $f.eps to $f.pdf";
egrep -v "^%%Orientation:" $f.eps | epstopdf --filter --outfile $f.pdf
fi
if [ ! -f "$f.png" ]; then
echo "Converting $f.svg to $f.png";
inkscape --without-gui --export-width=600 --export-png=$f.png $f.svg
fi
done
Property changes:
Added: svn:executable
+*
\ No newline at end of property