rletopnm - convert a Utah Raster Tools RLE image file to a PNM image file.
rletopnm
[--alphaout={alpha-filename,-}] [--headerdump|-h]
[--verbose|-v]
[rlefile|-]
All options may be abbreviated to their minimum unique abbreviation and options and arguments may be in any order.
This program is part of netpbm(1).
rletopnm converts Utah Raster Toolkit RLE image files to PNM image files. rletopnm handles four types of RLE files: Grayscale (8 bit data, no color map), Pseudocolor (8 bit data with a color map), Truecolor (24 bit data with color map), and Directcolor (24 bit data, no color map). rletopnm generates a PPM file for all these cases except for the Grayscale file, for which rletopnm generates a PGM file.
rlefile is the RLE input file. If it is absent or -, the input comes from Standard Input.
If you specify - as the filename, rletopnm writes the alpha output to Standard Output and discards the image.
See pamcomp(1) foronewaytouse the alpha output file.
rletopnm --verbose lenna.rle >lenna.ppm
rletopnm --headerdump file.rle
rletopnm --alphaout=dartalpha.pgm dart.rle >dart.ppm
Wes Barris Army High Performance Computing Research Center (AHPCRC) Minnesota Supercomputer Center, Inc.
Modifications by Eric Haines to support raw and plain formats.
Modifications by Bryan Henderson to create alpha files and use mnemonic options.