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

  1. .TH ppmtomap 1 "11 August 1993"
  2. .IX ppmtomap
  3. .SH NAME
  4. ppmtomap - extract all colors from a portable pixmap
  5. .SH SYNOPSIS
  6. .B ppmtomap
  7. .RB [ -sort ]
  8. .RB [ -square ]
  9. .RI [ ppmfile ]
  10. .SH DESCRIPTION
  11. Reads a portable pixmap as input.
  12. Produces a portable pixmap as output, representing a color map of the
  13. input file. All N different colors found are put in an Nx1 portable
  14. pixmap.
  15. This color map file can be used as a mapfile for
  16. .I ppmquant
  17. or
  18. .I ppmtogif.
  19. .SH OPTIONS
  20. .TP
  21. .B -sort
  22. Produces a portable pixmap with the colors in some sorted order.
  23. .TP
  24. .B -square
  25. Produces a (more or less) square output file, instead of putting all
  26. colors on the top row.
  27. .PP
  28. All flags can be abbreviated to their shortest unique prefix.
  29. .SH WARNING
  30. If you want to use the output file as a mapfile for
  31. .I ppmtogif,
  32. you first have to do a
  33. .I ppmquant 256,
  34. since
  35. .I ppmtomap
  36. is not limited to 256 colors (but to 65536).
  37. .SH "SEE ALSO"
  38. ppmtogif(1), ppmquant(1), ppm(5)
  39. .SH AUTHOR
  40. Marcel Wijkstra (wijkstra@fwi.uva.nl).
  41.  
  42. Copyright (C) 1989 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. .\"
  50. .\" The Graphics Interchange Format(c) is the Copyright property of
  51. .\" CompuServe Incorporated.  GIF(sm) is a Service Mark property of
  52. .\" CompuServe Incorporated.
  53.