1Rletopnm User Manual(0) Rletopnm User Manual(0)
2
3
4
6 rletopnm - convert a Utah Raster Tools RLE image file to a PNM image
7 file.
8
9
11 rletopnm
12
13 [--alphaout={alpha-filename,-}] [--headerdump|-h]
14
15 [--verbose|-v]
16
17 [rlefile|-]
18
19 All options may be abbreviated to their minimum unique abbreviation and
20 options and arguments may be in any order.
21
22
24 This program is part of Netpbm(1).
25
26 rletopnm converts Utah Raster Toolkit RLE image files to PNM image
27 files. rletopnm handles four types of RLE files: Grayscale (8 bit
28 data, no color map), Pseudocolor (8 bit data with a color map), True‐
29 color (24 bit data with color map), and Directcolor (24 bit data, no
30 color map). rletopnm generates a PPM file for all these cases except
31 for the Grayscale file, for which rletopnm generates a PGM file.
32
33 rlefile is the RLE input file. If it is absent or -, the input comes
34 from Standard Input.
35
36
38 --alphaout=alpha-filename
39 rletopnm creates a PGM (portable graymap) file containing the
40 transparency channel values in the input image. If the input
41 image doesn't contain an transparency channel, the alpha-file‐
42 name file contains all zero (transparent) transparency values.
43 If you don't specify --alphaout, rletopnm does not generate a
44 transparency file, and if the input image has a transparency
45 channel, rletopnm simply discards it.
46
47 If you specify - as the filename, rletopnm writes the trans‐
48 parency output to Standard Output and discards the image.
49
50 See pamcomp(1) for one way to use the transparency output file.
51
52
53 --verbose
54 This option causes rletopnm to operate in verbose mode. It
55 prints messages about what it's doing, including the contents of
56 the RLE image header, to Standard Error.
57
58
59 --headerdump
60 This option causes rletopnm to operate in header dump mode. It
61 prints the contents of the RLE image header to Standard Error,
62 but does not produce any other output.
63
64
65
66
68 · While running in verbose mode, convert lenna.rle to PPM format
69 and store the resulting image as lenna.ppm:
70
71 rletopnm --verbose lenna.rle >lenna.ppm
72
73
74 · Dump the header information of the RLE file called file.rle:
75
76 rletopnm --headerdump file.rle
77
78
79 · Convert RLE file dart.rle to PPM format as dart.ppm. Store the
80 transparency channel of dart.rle as dartalpha.pgm (if dart.rle
81 doesn't have a transparency channel, store a fully transparent
82 transparency mask as dartalpha.pgm):
83
84 rletopnm --alphaout=dartalpha.pgm dart.rle >dart.ppm
85
86
87
88
90 pnmtorle(1), pnmconvol(1), pnm(1), ppm(1), pgm(1),
91
92
94 Wes Barris Army High Performance Computing Research Center (AHPCRC)
95 Minnesota Supercomputer Center, Inc.
96
97 Modifications by Eric Haines to support raw and plain formats.
98
99 Modifications by Bryan Henderson to create transparency files and use
100 mnemonic options.
101
103 This manual page was generated by the Netpbm tool 'makeman' from HTML
104 source. The master documentation is at
105
106 http://netpbm.sourceforge.net/doc/rletopnm.html
107
108netpbm documentation 13 April 2000 Rletopnm User Manual(0)