svg-to-png.sh@f69d53c053df
svg-to-png.sh
Wed, 09 Mar 2022 14:22:22 +0200
- author
- Teemu Piippo <teemu@hecknology.net>
- date
- Wed, 09 Mar 2022 14:22:22 +0200
- changeset 177
- f69d53c053df
- parent 162
-
3ebe1a0ca818
- permissions
- -rwxr-xr-x
Show type of object 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