1Ppmtopj User Manual(0) Ppmtopj User Manual(0)
2
3
4
6 ppmtopj - convert a PPM image to an HP PaintJet file
7
8
10 ppmtopj
11
12 [-gamma val]
13
14 [-xpos val]
15
16 [-ypos val]
17
18 [-back {dark|lite}]
19
20 [-rle]
21
22 [-center]
23
24 [-render { none | snap | bw | dither | diffuse | monodither | monodif‐
25 fuse | clusterdither | monoclusterdither }]
26
27 [ppmfile]
28
29
31 This program is part of Netpbm(1).
32
33 ppmtopj reads a PPM image as input and converts it into a format suit‐
34 able to be printed by an HP PaintJet printer.
35
36 For best results, the input file should be in 8-color RGB form; i.e. it
37 should have only the 8 binary combinations of full-on and full-off pri‐
38 maries. You could convert your input to this format like this:
39
40 pamseq 3 1 testimg.ppm >8color.pam
41 pnmremap -map 8color.pam testimg.pam | ppmtopj
42
43
44 Or you could use
45 ppmdither -red 2 -green 2 -blue 2
46
47
48
50 In addition to the options common to all programs based on libnetpbm
51 (most notably -quiet, see
52 Common Options ⟨index.html#commonoptions⟩ ), ppmtopj recognizes the
53 following command line options:
54
55
56
57
58 -rle Run length encode the image. (This can result in larger images)
59
60
61 -back Enhance the foreground by indicating if the background is light
62 or dark compared to the foreground.
63
64
65 -render alg
66 Use an internal rendering algorithm (default dither).
67
68
69 -gamma int
70 Gamma correct the image using the integer int as a gamma (de‐
71 fault 0).
72
73
74 -center
75 Center the image to an 8.5 by 11 page
76
77
78 -xpos pos
79 Move by pos pixels in the x direction.
80
81
82 -ypos pos
83 Move by pos pixels in the y direction.
84
85
86
87
89 HP PaintJet XL Color Graphics Printer User's Guide, pnmtopclxl(1), pj‐
90 toppm(1), pamdepth(1), pnmremap(1), pamseq(1), ppmdither(1), pbm‐
91 tolj(1), ppmtolj(1), ppmtopjxl(1), thinkjettopbm(1), ppm(1)
92
93
95 Copyright (C) 1991 by Christos Zoulas.
96
98 This manual page was generated by the Netpbm tool 'makeman' from HTML
99 source. The master documentation is at
100
101 http://netpbm.sourceforge.net/doc/ppmtopj.html
102
103netpbm documentation 13 July 1991 Ppmtopj User Manual(0)