1. NAME

pnmtorast - convert a portable pixmap into a Sun rasterfile

2. SYNOPSIS

pnmtorast [ -standard | -rle ] [ pnmfile ]

3. DESCRIPTION

Reads a portable pixmap as input. Produces a Sun rasterfile as output.

Color values in Sun rasterfiles are eight bits wide, so pnmtorastwill automatically scale colors to have a maxval of 255. An extra pnmdepthstep is not necessary.

4. OPTIONS

The

-standard flag forces the result to be in RT_STANDARD form; the

-rle flag, RT_BYTE_ENCODED, which is smaller but, well, less standard. The default is

R -rle .

All flags can be abbreviated to their shortest unique prefix.

5. SEE ALSO

rasttopnm(1), pnm(5)

6. AUTHOR

Copyright (C) 1989, 1991 by Jef Poskanzer.