for i in `ls *.$1`
do
echo "converting" $i
convert +antialias  $i -resize 30%  n$i
done
#rm img*jpg
