pattoppm man page

NAME

       pattoppm - convert 2 dimensional CAM-8 pattern files into
       a portable pixmap


SYNOPSIS

       pattoppm [ppmfile] patternfile mapfile width height


DESCRIPTION

       Reads 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.


ARGUMENTS

       patternfile
              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


EXAMPLES

       Convert  the  file sheryl.pat to sheryl.ppm using the col-
       ormap standard.map:

       example% pattoppm sheryl.ppm sheryl.pat  standard.map  512
       512



SEE ALSO

       ppmtopat(1), ppm(5), pnmflip(1)


AUTHOR

       Copyright (c) 1994 by Daniel R. Risacher,
       Portions Copyright (c) 1991 by Jef Poskanzer.