svg-to-png.sh@8305e2f968fb
svg-to-png.sh
Sat, 05 Mar 2022 13:38:22 +0200
- author
- Teemu Piippo <teemu@hecknology.net>
- date
- Sat, 05 Mar 2022 13:38:22 +0200
- changeset 164
- 8305e2f968fb
- parent 162
-
3ebe1a0ca818
- permissions
- -rwxr-xr-x
Render draw tool preview as a line when we only have 2 points
#!/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