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 use
44 ppmdither -red 2 -green 2 -blue 2
45
46
48 -rle Run length encode the image. (This can result in larger images)
49
50
51 -back Enhance the foreground by indicating if the background is light
52 or dark compated to the foreground.
53
54
55 -render alg
56 Use an internal rendering algorithm (default dither).
57
58
59 -gamma int
60 Gamma correct the image using the integer int as a gamma
61 (default 0).
62
63
64 -center
65 Center the image to an 8.5 by 11 page
66
67
68 -xpos pos
69 Move by pos pixels in the x direction.
70
71
72 -ypos pos
73 Move by pos pixels in the y direction.
74
75
76
77
79 HP PaintJet XL Color Graphics Printer User's Guide, pnmtopclxl.html(1),
80 pjtoppm.html(1), pamdepth(1), pnmremap(1), pamseq(1), ppmdither(1),
81 pbmtolj.html(1), ppmtolj(1), thinkjettopbm(1), ppm(1)
82
83
85 Copyright (C) 1991 by Christos Zoulas.
86
87
88
89netpbm documentation 13 July 1991 Ppmtopj User Manual(0)