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

  1. .TH ppmpat 1 "04 September 1989"
  2. .IX ppmpat
  3. .SH NAME
  4. ppmpat - make a pretty pixmap
  5. .SH SYNOPSIS
  6. .B ppmpat
  7. .BR -gingham2 | -g2 | -gingham3 |
  8. .BR -g3 | -madras | -tartan |
  9. .BR -poles | -squig | -camo |
  10. .BR -anticamo
  11. .I width height
  12. .SH DESCRIPTION
  13. Produces a portable pixmap of the specified width and height,
  14. with a pattern in it.
  15. .IX "generating pixmaps"
  16. .PP
  17. This program is mainly to demonstrate use of the ppmdraw routines, a
  18. simple but powerful drawing library.
  19. See the ppmdraw.h include file for more info on using these routines.
  20. Still, some of the patterns can be rather pretty.
  21. If you have a color workstation, something like
  22. .B "ppmpat -squig 300 300" | "ppmquant 128"
  23. should generate a nice background.
  24. .SH OPTIONS
  25. .PP
  26. The different flags specify various different pattern types:
  27. .TP
  28. .B -gingham2
  29. A gingham check pattern.  Can be tiled.
  30. .TP
  31. .B -gingham3
  32. A slightly more complicated gingham.  Can be tiled.
  33. .TP
  34. .B -madras
  35. A madras plaid.  Can be tiled.
  36. .TP
  37. .B -tartan
  38. A tartan plaid.  Can be tiled.
  39. .TP
  40. .B -poles
  41. Color gradients centered on randomly-placed poles.
  42. May need to be run through
  43. .IR ppmquant .
  44. .TP
  45. .B -squig
  46. Squiggley tubular pattern.  Can be tiled.
  47. May need to be run through
  48. .IR ppmquant .
  49. .TP
  50. .B -camo
  51. Camouflage pattern.
  52. May need to be run through
  53. .IR ppmquant .
  54. .TP
  55. .B -anticamo
  56. Anti-camouflage pattern - like -camo, but ultra-bright colors.
  57. May need to be run through
  58. .IR ppmquant .
  59. .PP
  60. All flags can be abbreviated to their shortest unique prefix.
  61. .SH REFERENCES
  62. Some of the patterns are from "Designer's Guide to Color 3" by Jeanne Allen.
  63. .SH "SEE ALSO"
  64. pnmtile(1), ppmquant(1), ppm(5)
  65. .SH AUTHOR
  66. Copyright (C) 1989 by Jef Poskanzer.
  67. .\" Permission to use, copy, modify, and distribute this software and its
  68. .\" documentation for any purpose and without fee is hereby granted, provided
  69. .\" that the above copyright notice appear in all copies and that both that
  70. .\" copyright notice and this permission notice appear in supporting
  71. .\" documentation.  This software is provided "as is" without express or
  72. .\" implied warranty.
  73.