PPMCSCALE



		

NAME

      ppmcscale - scale the colors in a portable pixmap

SYNOPSIS

      ppmcscale newmaxval [ppmfile]

DESCRIPTION

      Reads a portable pixmap as input.  Scales all the pixel values, and
      writes out the image with the new maxval.
      Scaling the colors down to a smaller maxval will result in some loss
      of information.

SEE ALSO

      ppmquant(1), ppm(5)

AUTHOR

      Copyright (C) 1989 by Jef Poskanzer.
      Permission to use, copy, modify, and distribute this software and its
      documentation for any purpose and without fee is hereby granted,
      provided that the above copyright notice appear in all copies and that
      both that copyright notice and this permission notice appear in
      supporting documentation.  This software is provided "as is" without
      express or implied warranty.