PNMTORLE(1)
π PNMTORLE π
okay bestie, welcome to the pnmtorle page from the Pnmtorle User Manual, section 1 of the General Commands Manual β¨ this is the glow-up era of the Netpbm docs, and we're doing it with full sparkle.
πΈ NAME πΈ
pnmtorle β convert a Netpbm image file into an RLE image file. literally that's the whole job, and she does it flawlessly π
β¨ SYNOPSIS β¨
pnmtorle
[-header] [-verbose] [-alpha] [-outfile=outfile] [pnmfile]
okay quick notes so you don't get caught lacking:
- the minimum unique abbreviation of any option is acceptable π«Ά
- you may use double hyphens instead of single hyphen to denote options
- you may use white space in place of the equals sign to separate an option name from its value
π¦ DESCRIPTION π¦
This program is part of Netpbm(1).
So here's the vibe: this program converts Netpbm image files into Utah RLE image files. You can include a transparency mask. And if the input is a multiple image file, the output consists of several concatenated RLE images β like a little image conga line, no cap π
pnmfile is the name of the Netpbm image input file. If you don't specify this argument, input is from Standard Input.
The RLE file will contain either a three channel color image (24 bits) or a single channel grayscale image (8 bits) depending upon the type of Netpbm input. If the Netpbm input is color, the RLE output is 3 channel 24 bit color. If the Netpbm input is grayscale or black and white, the RLE output is single channel grayscale. it just matches your energy, fr fr π
π OPTIONS π
In addition to the options common to all programs based on libnetpbm (most notably -quiet, see Common Options), pnmtorle recognizes the following command line options:
-verboseβ This option will causepnmtorleto operate in verbose mode. The program writes header information to Standard Error. Actually, there is not much header information stored in a Netpbm file, so this information is minimal π not her fault, the file is just built different (or rather, built simple).
Before Netpbm 10.98 (March 2022), this option is just -v.
-headerβ This option causes the program to dump the header of the Netpbm image to Standard Error without converting the file. It is equivalent to using the-verboseoption except that no file conversion takes place. it's giving "just show me the receipts, don't do the work" π
Before Netpbm 10.98 (March 2022), this option is just -h.
-alphaβ This option causespnmtorleto include a transparency channel in the output image. The transparency channel is based on the image: Wherever a pixel is black, the corresponding transparency value is transparent. Everywhere else, the transparency value is fully opaque. so black pixels ghost away like they said "not me" π»-outfileoutfile β If you specify this option,pnmtorlewrites the output to this file. If outfile is-or you don't specify-outfile,pnmtorlewrites the output to Standard Output.
Before Netpbm 10.98 (March 2022), this option is just -o and must be separated from its value by a space, not an equal sign.
π EXAMPLES π
pnmtorle -verbose file.ppm -outfile=file.rle
While running in verbose mode, convert file.ppm to RLE format and store resulting data in file.rle. iconic behavior β¨
pnmtorle -header file.pgm
Dump the header information of the Netpbm file called file.pgm. peek at the lore without the full commitment π
π SEE ALSO π
π«Ά AUTHOR π«Ά
Wes Barris, Army High Performance Computing Research Center (AHPCRC) Minnesota Supercomputer Center, Inc.
(respect the architect, periodt π)
π 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/pnmtorle.html
and that's the whole page, bestie π this was netpbm documentation, dated 07 March 2022, and yes, it's still the Pnmtorle User Manual, section 1, absolutely serving on main character energy till the last line πΈπ β¨
π¦ where this page comes from
- 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