svg-to-png.sh@5b7a8f2270ff
svg-to-png.sh
Sun, 13 Mar 2022 18:46:10 +0200
- author
- Teemu Piippo <teemu@hecknology.net>
- date
- Sun, 13 Mar 2022 18:46:10 +0200
- changeset 180
- 5b7a8f2270ff
- parent 162
-
3ebe1a0ca818
- permissions
- -rwxr-xr-x
Handle properties in a generic manner in the object editor
#!/bin/bash
mkdir --parents icons
for svgfile in $(find icons_svg -name '*.svg')
do
pngfile="icons/$(basename ${svgfile%.svg}.png)"
if [[ ! -f "${pngfile}" ]]
then
echo "$svgfile => $pngfile"
convert -background none "${svgfile}" "${pngfile}"
fi
done