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 / ppmquantall.1 < prev    next >
Text File  |  1996-11-18  |  2KB  |  49 lines

  1. .TH ppmquantall 1 "27 July 1990"
  2. .IX ppmquantall
  3. .SH NAME
  4. ppmquantall - run ppmquant on a bunch of files all at once, so they share a common colormap
  5. .SH SYNOPSIS
  6. .B ppmquantall
  7. .I ncolors ppmfile
  8. .RI ...
  9. .SH DESCRIPTION
  10. Takes a bunch of portable pixmap as input.
  11. Chooses
  12. .I ncolors
  13. colors to best represent all of the images, maps the
  14. existing colors to the new ones, and
  15. .B overwrites the input files
  16. with the new quantized versions.
  17. .IX "colormap reduction"
  18. .PP
  19. Verbose explanation: Let's say you've got a dozen pixmaps that you want
  20. to display on the screen all at the same time.  Your screen can only
  21. display 256 different colors, but the pixmaps have a total of a thousand
  22. or so different colors.  For a single pixmap you solve this problem with
  23. .IR ppmquant ;
  24. .IX ppmquant
  25. this script solves it for multiple pixmaps.  All it does is
  26. concatenate them together into one big pixmap, run
  27. .I ppmquant
  28. on that, and then split it up into little pixmaps again.
  29. .PP
  30. (Note that another way to solve this problem is to pre-select a set of
  31. colors and then use
  32. .IR ppmquant 's
  33. .B -map
  34. option to separately quantize each pixmap to that set.)
  35. .SH "SEE ALSO"
  36. ppmquant(1), ppm(5)
  37. .SH BUGS
  38. It's a csh script.
  39. Csh scripts are not portable to System V.
  40. Scripts in general are not portable to non-Unix environments.
  41. .SH AUTHOR
  42. Copyright (C) 1991 by Jef Poskanzer.
  43. .\" Permission to use, copy, modify, and distribute this software and its
  44. .\" documentation for any purpose and without fee is hereby granted, provided
  45. .\" that the above copyright notice appear in all copies and that both that
  46. .\" copyright notice and this permission notice appear in supporting
  47. .\" documentation.  This software is provided "as is" without express or
  48. .\" implied warranty.
  49.