#!/bin/sh #get the name again # \/ IN PO \/ #Use bucked-fill tool (the little drop) to fill out with black the #the white space around the outlined figure so you have a #white figure on a black background. Now "save as", choose #pgm from the drop box, type "b" (the second letter in #the alphabet) click OK. Quit PO (type q) and run popnmc #(with no argument). #/\ IN PO /\ name=`cat name.tmp` #now I smooth the mask to make the overlay less sharp #in the edges. pgmtopbm b |pbmtopgm 4 4 >${name}m.alf