RLETOPNM(1)
π RLETOPNM(1) β the Rletopnm User Manual, bestie edition π
okay so. this is a General Commands Manual page, specifically the Rletopnm User Manual, and I'm about to make it make sense. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
rletopnm β convert a Utah Raster Tools RLE image file to a PNM image file. that's it, that's the whole job, and it does it flawlessly π
πΈ SYNOPSIS πΈ
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. yes queen, you can shuffle them around however you want, she's flexible like that β¨
π¦ DESCRIPTION π¦
This program is part of Netpbm(1).
rletopnm converts Utah Raster Toolkit RLE image files to PNM image files. and not to be dramatic but she handles four types of RLE files, no cap:
- Grayscale β 8 bit data, no color map
- Pseudocolor β 8 bit data with a color map
- Truecolor β 24 bit data with color map
- 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. yeah. grayscale gets its own whole file format. she's special like that, we respect it π
rlefile is the RLE input file. If it is absent or -, the input comes from Standard Input. so if you just pipe it in with nothing to say, she'll take it from stdin, no questions asked π
π OPTIONS π
In addition to the options common to all programs based on libnetpbm (most notably -quiet, see Common Options), rletopnm recognizes the following command line options:
--alphaout=alpha-filenameβ okay so this one's the moment.rletopnmcreates a PGM (portable graymap) file containing the transparency channel values in the input image. If the input image doesn't contain a transparency channel, thealpha-filenamefile contains all zero (transparent) transparency values. If you don't specify--alphaout,rletopnmdoes not generate a transparency file, and if the input image has a transparency channel,rletopnmsimply discards it π (she's not being mean, she just moves on).
If you specify - as the filename, rletopnm writes the transparency output to Standard Output and discards the image. yes, the WHOLE image. gone. bestie please read that twice π
See pamcomp(1) for one way to use the transparency output file.
--verboseβ this option causesrletopnmto operate in verbose mode. It prints messages about what it's doing, including the contents of the RLE image header, to Standard Error. she's narrating her life. main character energy fr fr π--headerdumpβ this option causesrletopnmto operate in header dump mode. It prints the contents of the RLE image header to Standard Error, but does not produce any other output. just the header, nothing else, she said look but don't touch π§
π EXAMPLES π
- While running in verbose mode, convert
lenna.rleto PPM format and store the resulting image aslenna.ppm:
rletopnm --verbose lenna.rle >lenna.ppm
- Dump the header information of the RLE file called
file.rle:
rletopnm --headerdump file.rle
- Convert RLE file
dart.rleto PPM format asdart.ppm. Store the transparency channel ofdart.rleasdartalpha.pgm(ifdart.rledoesn't have a transparency channel, store a fully transparent transparency mask asdartalpha.pgm):
rletopnm --alphaout=dartalpha.pgm dart.rle >dart.ppm
π SEE ALSO π
pnmtorle(1), pnmconvol(1), pnm(1), ppm(1), pgm(1),
π«Ά AUTHOR π«Ά
Wes Barris Army High Performance Computing Research Center (AHPCRC) Minnesota Supercomputer Center, Inc.
Modifications by Eric Haines to produce raw and plain formats.
Modifications by Bryan Henderson to create transparency files and use mnemonic options.
three absolute legends, we stan all of them π
π DOCUMENT SOURCE π
This manual page was generated by the Netpbm tool makeman from HTML source. The master documentation is at
http://netpbm.sourceforge.net/doc/rletopnm.html
Netpbm documentation, last touched 13 April 2000. slay, periodt, go convert some RLE files bestie πβ¨π
π¦ where this page comes from
- debian bookworm: netpbm 2:11.01.00-2 Β· MIT
- debian trixie: netpbm 2:11.10.02-1 Β· MIT
- ubuntu noble: netpbm 2:11.05.02-1.1build1 Β· MIT
- ubuntu resolute: netpbm 2:11.10.02-1build1 Β· MIT
- ubuntu stonking: netpbm 2:11.13.03+ds-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms