1Pnmtorle User Manual(0)                                Pnmtorle User Manual(0)
2
3
4

NAME

6       pnmtorle - convert a Netpbm image file into an RLE image file.
7

SYNOPSIS

9       pnmtorle
10
11       [-h] [-v] [-a] [-o outfile] [pnmfile]
12
13

DESCRIPTION

15       This program is part of Netpbm(1).
16
17       This  program  converts  Netpbm  image files into Utah RLE image files.
18       You can include an alpha mask.  If the input is a multiple image  file,
19       the output consists of several concatenated RLE images.
20
21       The  RLE file will contain either a three channel color image (24 bits)
22       or a single channel grayscale image (8 bits)  depending  upon  the  pnm
23       file  depth.   If a converted ppm is displayed on an 8 bit display, the
24       image must be dithered.  In order to produce a better looking image (on
25       8  bit  displays), it is recommended that the image be quantizing (to 8
26       bit mapped color) prior to its display.  This may be done by piping the
27       output  of  this  program into the Utah mcut or rlequant utilities.  We
28       show an example of this later.
29
30

OPTIONS

32       -v     This option will cause pnmtorle to operate in verbose mode.  The
33              header  information  is written to 'stderr'.  Actually, there is
34              not much header information stored in a  Netpbm  file,  so  this
35              information is minimal.
36
37       -h     This  option  allows the header of the Netpbm image to be dumped
38              to 'stderr' without converting the file.  It  is  equivalent  to
39              using the -v option except that no file conversion takes place.
40
41       -a     This  option  causes pnmtorle to include an alpha channel in the
42              output image.  The alpha channel is based on the  image:   Wher‐
43              ever  a  pixel is black, the corresponding alpha value is trans‐
44              parent.  Everywhere else, the alpha value is fully opaque.
45
46
47       -o outfile
48              If you specify this option, pnmtorle writes the output  to  this
49              file.   If outfile is - or you don't specify -o, pnmtorle writes
50              the output to Standard Output.
51
52
53       pnmfile
54              The name of the Netpbm image data file to be converted.  If  not
55              specified, standard input is assumed.
56
57
58

EXAMPLES

60          pnmtorle -v file.ppm -o file.rle
61
62       While running in verbose mode, convert file.ppm to RLE format and store
63       resulting data in file.rle.
64
65          pnmtorle -h file.pgm
66
67       Dump the header information of the Netpbm file called file.pgm.
68
69

SEE ALSO

71       rletopnm(1)
72
73

AUTHOR

75       Wes Barris,
76       Army High Performance Computing Research Center (AHPCRC)
77       Minnesota Supercomputer Center, Inc.
78
79
80
81netpbm documentation            March 31, 1994         Pnmtorle User Manual(0)
Impressum