# rasttopnm(1) - man - phpMan

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



## NAME
       rasttopnm - convert a Sun rasterfile into a portable anymap

## SYNOPSIS
       **rasttopnm** [_rastfile_]

## DESCRIPTION
       Reads a Sun rasterfile as input.  Produces a portable anymap as output.  The type of the out‐
       put file depends on the input file - if it's black & white, a _pbm_ file is  written,  else  if
       it's grayscale a _pgm_ file, else a _ppm_ file.  The program tells you which type it is writing.

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

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



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