Linux Commands Examples

A great documentation place for Linux commands

pnmtorast

convert a portable pixmap into a Sun rasterfile


see also : rasttopnm

Synopsis

pnmtorast [-standard|-rle] [pnmfile]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !

description

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

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

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 -rle.

All flags can be abbreviated to their shortest unique prefix.


see also

rasttopnm , pnm


author

Copyright (C) 1989, 1991 by Jef Poskanzer.

How can this site be more helpful to YOU ?


give  feedback