svg-to-png.sh@815fbaae9cb2
svg-to-png.sh
Wed, 25 May 2022 12:01:58 +0300
- author
- Teemu Piippo <teemu@hecknology.net>
- date
- Wed, 25 May 2022 12:01:58 +0300
- changeset 189
- 815fbaae9cb2
- parent 162
-
3ebe1a0ca818
- permissions
- -rwxr-xr-x
cleanup, gl::Compiler changed to gl::ModelShaders
#!/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