NAMEpattoppm - convert 2 dimensional CAM-8 pattern files into a portable pixmap
SYNOPSISpattoppm [ppmfile] patternfile mapfile width height
DESCRIPTIONReads CAM-8 pattern files and colormap files as input. Produces a portable pixmap as output. The input file is a ".pat" file and a ".map" file. You have to specify the width and height on the command line, since the program can't get them from the file.
ARGUMENTSpatternfile name of the CAM-8 file to read mapfile name of the CAM-8 colormap file width, height dimensions of the image ppmfile name to save the ppm file as; if omitted, pattoppm writes to the standard output
EXAMPLESConvert the file sheryl.pat to sheryl.ppm using the col- ormap standard.map: example% pattoppm sheryl.ppm sheryl.pat standard.map 512 512
SEE ALSOppmtopat(1), ppm(5), pnmflip(1)
AUTHORCopyright (c) 1994 by Daniel R. Risacher, Portions Copyright (c) 1991 by Jef Poskanzer.