home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / NETWORK / netpbm_docs.lzh / NETPBM / DOCS / pnmdepth.1 < prev    next >
Text File  |  1996-11-18  |  1KB  |  28 lines

  1. .TH pnmdepth 1 "12 January 1991"
  2. .IX pnmdepth
  3. .SH NAME
  4. pnmdepth - change the maxval in a portable anymap
  5. .SH SYNOPSIS
  6. .B pnmdepth
  7. .I newmaxval
  8. .RI [ pnmfile ]
  9. .SH DESCRIPTION
  10. Reads a portable anymap as input.
  11. Scales all the pixel values, and writes out the image with the new maxval.
  12. Scaling the colors down to a smaller maxval will result in some loss
  13. of information.
  14. .PP
  15. Be careful of off-by-one errors when choosing the new maxval.
  16. For instance, if you want the color values to be five bits wide,
  17. use a maxval of 31, not 32.
  18. .SH "SEE ALSO"
  19. pnm(5), ppmquant(1), ppmdither(1)
  20. .SH AUTHOR
  21. Copyright (C) 1989, 1991 by Jef Poskanzer.
  22. .\" Permission to use, copy, modify, and distribute this software and its
  23. .\" documentation for any purpose and without fee is hereby granted, provided
  24. .\" that the above copyright notice appear in all copies and that both that
  25. .\" copyright notice and this permission notice appear in supporting
  26. .\" documentation.  This software is provided "as is" without express or
  27. .\" implied warranty.
  28.