# GNU Make file # Convert scanned PBM image to compact TIFF fax group 4 # If successful, remove PBM file %.tif: %.pbm pnmtotiff -g4 < $< >$*.tif && rm $*.pbm # Reduce to half resolution and convert to transparent GIF # This is for presentation with WWW %.gif: %.tif tifftopnm < $< | \ pbmreduce 2 | \ ppmtogif -transparent rgbi:1/1/1 >$*.gif