.TL
Pnmtorle User Manual
.SH 1
PNMTORLE
.LP
Updated: March 31, 1994
.br
Table Of Contents
.SH 2
NAME
.LP
pnmtorle - convert a Netpbm image file into an RLE image file.
.SH 2
SYNOPSIS
.LP
\fBpnmtorle\fR
[\fB-h\fR]
[\fB-v\fR]
[\fB-a\fR]
[\fB-o\fR \fIoutfile\fR]
[\fIpnmfile\fR]
.SH 2
DESCRIPTION
.LP
.LP
This program is part of Netpbm.
.LP
This program converts Netpbm image files into Utah RLE image files.
You can include an alpha mask. If the input is a multiple image file,
the output consists of several concatenated RLE images.
.LP
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 \fBmcut\fR or
\fBrlequant\fR utilities. We show an example of this later.
.SH 2
OPTIONS
.LP
.RS
.IP "\fB-v\fR"
This option will cause \fBpnmtorle\fR to operate in verbose mode. The header
information is written to "stderr". Actually, there is not much header
information stored in a Netpbm file, so this information is minimal.
.IP "\fB-h\fR"
This option allows the header of the Netpbm image to be dumped to "stderr"
without converting the file. It is equivalent to using the -v option except
that no file conversion takes place.
.IP "\fB-a\fR"
This option causes \fBpnmtorle\fR to include an alpha channel in the output
image. The alpha channel is based on the image: Wherever a pixel
is black, the corresponding alpha value is transparent. Everywhere
else, the alpha value is fully opaque.
.IP "\fB-o\fR \fIoutfile\fR"
If you specify this option, \fBpnmtorle\fR writes the output to
this file. If \fIoutfile\fR is \fB-\fR or you don't specify
\fB-o\fR, \fBpnmtorle\fR writes the output to Standard Output.
.IP "\fIpnmfile\fR"
The name of the Netpbm image data file to be converted. If not specified,
standard input is assumed.
.RE
.SH 2
EXAMPLES
.LP
.DS L
pnmtorle -v file.ppm -o file.rle
.DE
.LP
While running in verbose mode, convert file.ppm to RLE format and store
resulting data in file.rle.
.DS L
pnmtorle -h file.pgm
.DE
.LP
Dump the header information of the Netpbm file called file.pgm.
.SH 2
SEE ALSO
.LP
\fBrletopnm\fR
.SH 2
AUTHOR
.LP
.DS L
Wes Barris,
Army High Performance Computing Research Center (AHPCRC)
Minnesota Supercomputer Center, Inc.
.DE
.br
\l'5i'
.SH 2
Table Of Contents
.LP
.IP \(bu
NAME
.IP \(bu
SYNOPSIS
.IP \(bu
DESCRIPTION
.IP \(bu
OPTIONS
.IP \(bu
EXAMPLES
.IP \(bu
SEE ALSO
.IP \(bu
AUTHOR
.LP
|