svg-to-png.sh@48c66a4b1fe5
svg-to-png.sh
Sun, 26 Jun 2022 20:26:09 +0300
- author
- Teemu Piippo <teemu.s.piippo@gmail.com>
- date
- Sun, 26 Jun 2022 20:26:09 +0300
- changeset 260
- 48c66a4b1fe5
- parent 162
-
3ebe1a0ca818
- permissions
- -rwxr-xr-x
Fix bad use of QOpenGLFunctions
#!/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