1Pnmtorle User Manual(0) Pnmtorle User Manual(0)
2
3
4
6 pnmtorle - convert a Netpbm image file into an RLE image file.
7
9 pnmtorle
10
11 [-h] [-v] [-a] [-o outfile] [pnmfile]
12
13
15 This program is part of Netpbm(1).
16
17 This program converts Netpbm image files into Utah RLE image files.
18 You can include a transparency mask. If the input is a multiple image
19 file, the output consists of several concatenated RLE images.
20
21 The RLE file will contain either a three channel color image (24 bits)
22 or a single channel grayscale image (8 bits) depending upon the pnm
23 file depth. If a converted ppm is displayed on an 8 bit display, the
24 image must be dithered. In order to produce a better looking image (on
25 8 bit displays), it is recommended that the image be quantizing (to 8
26 bit mapped color) prior to its display. This may be done by piping the
27 output of this program into the Utah mcut or rlequant utilities. We
28 show an example of this later.
29
30
32 -v This option will cause pnmtorle to operate in verbose mode. The
33 header information is written to "stderr". Actually, there is
34 not much header information stored in a Netpbm file, so this
35 information is minimal.
36
37 -h This option allows the header of the Netpbm image to be dumped
38 to "stderr" without converting the file. It is equivalent to
39 using the -v option except that no file conversion takes place.
40
41 -a This option causes pnmtorle to include an transparency channel
42 in the output image. The transparency channel is based on the
43 image: Wherever a pixel is black, the corresponding trasparency
44 value is transparent. Everywhere else, the transparency value
45 is fully opaque.
46
47
48 -o outfile
49 If you specify this option, pnmtorle writes the output to this
50 file. If outfile is - or you don't specify -o, pnmtorle writes
51 the output to Standard Output.
52
53
54 pnmfile
55 The name of the Netpbm image data file to be converted. If not
56 specified, standard input is assumed.
57
58
59
61 pnmtorle -v file.ppm -o file.rle
62
63 While running in verbose mode, convert file.ppm to RLE format and store
64 resulting data in file.rle.
65
66 pnmtorle -h file.pgm
67
68 Dump the header information of the Netpbm file called file.pgm.
69
70
72 rletopnm(1)
73
74
76 Wes Barris,
77 Army High Performance Computing Research Center (AHPCRC)
78 Minnesota Supercomputer Center, Inc.
79
81 This manual page was generated by the Netpbm tool 'makeman' from HTML
82 source. The master documentation is at
83
84 http://netpbm.sourceforge.net/doc/pnmtorle.html
85
86netpbm documentation March 31, 1994 Pnmtorle User Manual(0)