summaryrefslogtreecommitdiff
path: root/hulls/Makefile
blob: 9577ced7c1e47853330071c45674940c46c582f1 (plain)
1
2
3
4
5
6
7
8
data:
	# create image:
	convert -font Arial -pointsize 24 label:Y +trim +repage -negate -bordercolor black -border 10 mask.gif
	# create binary edge
	convert mask.gif -edge 1 -threshold 0 mask_edge.gif
	# list coordinates of only white edge pixels
	convert mask_edge.gif txt:- > txt
	sed -n 's/^\(.*\):.*white$$/\1/p' txt