svg-to-png.sh@9b655f6fe5a1
svg-to-png.sh
Sat, 05 Mar 2022 18:26:18 +0200
- author
- Teemu Piippo <teemu@hecknology.net>
- date
- Sat, 05 Mar 2022 18:26:18 +0200
- changeset 170
- 9b655f6fe5a1
- parent 162
-
3ebe1a0ca818
- permissions
- -rwxr-xr-x
Added a toggle for setting whether axes are drawn
#!/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