#!/bin/bash
#Convert the svg to fixed size png

file_list=`find svg -name "*.svg" | cut -d'/' -f2`

for image in ${file_list}; do
	image=`basename ${image} .svg`
	convert -resize 48 -density 1200 -background none svg/${image}.svg 48x48/${image}.png
	#convert -resize 32 -density 1200 -background none svg/${image}.svg 32x32/${image}.png
	#convert -resize 16 -density 1200 -background none svg/${image}.svg 16x16/${image}.png
done
