cat $1.xpm|sed 's,None,white,g'|sed 's,	.*	,	,'|sed 's,	.* c ,	c ,'|xpmtoppm|ppmtopgm|pgmtopbm > $1.pbm
pbmtoxbm $1.pbm > $1.xbm
rm $1.pbm
