PNMTORLE(1) | General Commands Manual | PNMTORLE(1) |
pnmtorle - convert a Netpbm image file into an RLE image file.
pnmtorle [ -h ] [ -v ] [ -a ] [ -o outfile ] [ pnmfile ]
This program converts Netpbm image files into Utah RLE(5) image files. You can include an alpha mask. If the input is a multiple image file, the output consists of several concatenated RLE images.
The RLE file will contain either a three channel color image (24 bits) or a single channel grayscale image (8 bits) depending upon the pnm file depth. If a converted ppm is displayed on an 8 bit display, the image must be dithered. In order to produce a better looking image (on 8 bit displays), it is recommended that the image be quantizing (to 8 bit mapped color) prior to its display. This may be done by piping the output of this program into the Utah mcut(1) or rlequant(1) utilities. An example of this is shown later.
Wes Barris
Army High Performance Computing Research Center (AHPCRC)
Minnesota Supercomputer Center, Inc.
March 31, 1994 | 1 |