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 Or you could use
44 ppmdither -red 2 -green 2 -blue 2
45
46
48 In addition to the options common to all programs based on libnetpbm
49 (most notably -quiet, see
50 Common Options ⟨index.html#commonoptions⟩ ), ppmtopj recognizes the
51 following command line options:
52
53
54
55
56 -rle Run length encode the image. (This can result in larger images)
57
58
59 -back Enhance the foreground by indicating if the background is light
60 or dark compared to the foreground.
61
62
63 -render alg
64 Use an internal rendering algorithm (default dither).
65
66
67 -gamma int
68 Gamma correct the image using the integer int as a gamma
69 (default 0).
70
71
72 -center
73 Center the image to an 8.5 by 11 page
74
75
76 -xpos pos
77 Move by pos pixels in the x direction.
78
79
80 -ypos pos
81 Move by pos pixels in the y direction.
82
83
84
85
87 HP PaintJet XL Color Graphics Printer User's Guide, pnmtopclxl(1),
88 pjtoppm(1), pamdepth(1), pnmremap(1), pamseq(1), ppmdither(1), pbm‐
89 tolj(1), ppmtolj(1), ppmtopjxl(1), thinkjettopbm(1), ppm(1)
90
91
93 Copyright (C) 1991 by Christos Zoulas.
94
96 This manual page was generated by the Netpbm tool 'makeman' from HTML
97 source. The master documentation is at
98
99 http://netpbm.sourceforge.net/doc/ppmtopj.html
100
101netpbm documentation 13 July 1991 Ppmtopj User Manual(0)