# pnmtorast(1) - man - phpMan

[pnmtorast(1)](https://www.chedong.com/phpMan.php/man/pnmtorast/1/markdown)                           General Commands Manual                          [pnmtorast(1)](https://www.chedong.com/phpMan.php/man/pnmtorast/1/markdown)



## NAME
       pnmtorast - convert a portable pixmap into a Sun rasterfile

## SYNOPSIS
       **pnmtorast** [**-standard**|**-rle**] [_pnmfile_]

## 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_EN‐
       CODED, which is smaller but, well, less standard.  The default is **-rle**.

       All flags can be abbreviated to their shortest unique prefix.

## SEE ALSO
       [rasttopnm(1)](https://www.chedong.com/phpMan.php/man/rasttopnm/1/markdown), [pnm(5)](https://www.chedong.com/phpMan.php/man/pnm/5/markdown)

## AUTHOR
       Copyright (C) 1989, 1991 by Jef Poskanzer.



                                           12 January 1991                              [pnmtorast(1)](https://www.chedong.com/phpMan.php/man/pnmtorast/1/markdown)
