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

  1. .TH ppmtopj 1 "13 July 1991"
  2. .IX ppmtopj
  3. .SH NAME
  4. ppmtopj - convert a portable pixmap to an HP PaintJet file
  5. .SH SYNOPSIS
  6. .B ppmtopj
  7. .RB [-gamma
  8. .IR val ]
  9. .RB [ -xpos
  10. .IR val ]
  11. .RB [ -ypos
  12. .IR val ]
  13. .RB [ -back
  14. .BR dark | lite ]
  15. .RB [ -rle ]
  16. .RB [ -center ]
  17. .RB [ -render
  18. .BR none|snap|bw|dither|diffuse|monodither|monodiffuse|clusterdither|monoclusterdither ]
  19. .RI [ ppmfile ]
  20. .SH DESCRIPTION
  21. Reads a portable pixmap as input and converts it into a format suitable
  22. to be printed by an HP PaintJet printer.
  23. .PP
  24. For best results, the input file should be in 8-color RGB form;
  25. i.e. it should have only
  26. the 8 binary combinations of full-on and full-off primaries.
  27. You could get this by sending the input file through
  28. .I ppmquant -map
  29. with a map file such as:
  30. .nf
  31.     P3
  32.     8 1
  33.     255
  34.     0 0 0      255 0 0    0 255 0    0 0 255
  35.     255 255 0  255 0 255  0 255 255  255 255 255
  36. .fi
  37. Or else you could use use
  38. .I ppmdither -red 2 -green 2 -blue 2.
  39. .SH OPTIONS
  40. .TP 14
  41. .B -rle
  42. Run length encode the image.
  43. (This can result in larger images)
  44. .TP
  45. .B -back
  46. Enhance the foreground by indicating if the background is light or
  47. dark compated to the foreground.
  48. .TP
  49. .BI -render " alg"
  50. Use an internal rendering algorithm (default dither).
  51. .TP
  52. .BI -gamma " int"
  53. Gamma correct the image using the integet parameter as a gamma (default 0).
  54. .TP
  55. .B -center
  56. Center the image to an 8.5 by 11 page
  57. .TP
  58. .BI -xpos " pos"
  59. Move by pos pixels in the x direction.
  60. .TP
  61. .BI -ypos " pos"
  62. Move by pos pixels in the y direction.
  63. .SH REFERENCES
  64. HP PaintJet XL Color Graphics Printer User's Guide
  65. .SH "SEE ALSO"
  66. pnmdepth(1), ppmquant(1), ppmdither(1), ppm(5)
  67. .SH BUGS
  68. Most of the options have not been tested because of the price of the paper.
  69. .SH AUTHOR
  70. Copyright (C) 1991 by Christos Zoulas.
  71. .\" Permission to use, copy, modify, and distribute this software and its
  72. .\" documentation for any purpose and without fee is hereby granted, provided
  73. .\" that the above copyright notice appear in all copies and that both that
  74. .\" copyright notice and this permission notice appear in supporting
  75. .\" documentation.  This software is provided "as is" without express or
  76. .\" implied warranty.
  77.