#! /bin/bash

for img in $(ls *tiff)
do
	convert $img $(echo $img | sed 's:^\(.*\).tiff:\1.eps:g')
done

#crop matlab figures
# convert $1 -crop 1035x830+85+30 crop.png; eog crop.png 
#convert $1 -crop 760x780+240+30 $1
