1Pnmtorle User Manual(0) Pnmtorle User Manual(0)
2
3
4
6 pnmtorle - convert a Netpbm image file into an RLE image file.
7
8
10 pnmtorle
11
12 [-header] [-verbose] [-alpha] [-outfile=outfile] [pnmfile]
13
14 Minimum unique abbreviation of option is acceptable. You may use dou‐
15 ble hyphens instead of single hyphen to denote options. You may use
16 white space in place of the equals sign to separate an option name from
17 its value.
18
19
20
22 This program is part of Netpbm(1).
23
24 This program converts Netpbm image files into Utah RLE image files.
25 You can include a transparency mask. If the input is a multiple image
26 file, the output consists of several concatenated RLE images.
27
28 pnmfile is the name of the Netpbm image input file. If you don't spec‐
29 ify this argument, input is from Standard Input.
30
31 The RLE file will contain either a three channel color image (24 bits)
32 or a single channel grayscale image (8 bits) depending upon the type of
33 Netpbm input. If the Netpbm input is color, the RLE output is 3 chan‐
34 nel 24 bit color. If the Netpbm input is grayscale or black and white,
35 the RLE output is single channel grayscale.
36
37
38
40 In addition to the options common to all programs based on libnetpbm
41 (most notably -quiet, see
42 Common Options ⟨index.html#commonoptions⟩ ), pnmtorle recognizes the
43 following command line options:
44
45
46
47 -verbose
48 This option will cause pnmtorle to operate in verbose mode.
49 The
50 program writes header information to Standard Error. Actu‐
51 ally, there is not
52 much header information stored in a Netpbm file, so this in‐
53 formation is
54 minimal.
55
56 Before Netpbm 10.98 (March 2022), this option is just -v.
57
58
59 -header
60 This option causes the program to dump the header of the Netpbm
61 image to be Standard Error without converting the file. It is
62 equivalent to using the -verbose option except that no file con‐
63 version takes place.
64
65 Before Netpbm 10.98 (March 2022), this option is just -h.
66
67
68 -alpha This option causes pnmtorle to include a transparency channel in
69 the output image. The transparency channel is based on the im‐
70 age: Wherever a pixel is black, the corresponding trasparency
71 value is transparent. Everywhere else, the transparency value
72 is fully opaque.
73
74
75 -outfile outfile
76 If you specify this option, pnmtorle writes the output to this
77 file. If outfile is - or you don't specify -outfile, pnmtorle
78 writes the output to Standard Output.
79
80 Before Netpbm 10.98 (March 2022), this option is just -o.and
81 must be separated from its value by a space, not an equal
82 sign.
83
84
85
86
88 pnmtorle -verbose file.ppm -outfile=file.rle
89
90
91 While running in verbose mode, convert file.ppm to RLE format and store
92 resulting data in file.rle.
93
94 pnmtorle -header file.pgm
95
96
97 Dump the header information of the Netpbm file called file.pgm.
98
99
101 rletopnm(1)
102
103
105 Wes Barris,
106 Army High Performance Computing Research Center (AHPCRC)
107 Minnesota Supercomputer Center, Inc.
108
109
111 This manual page was generated by the Netpbm tool 'makeman' from HTML
112 source. The master documentation is at
113
114 http://netpbm.sourceforge.net/doc/pnmtorle.html
115
116netpbm documentation 07 March 2022 Pnmtorle User Manual(0)