rasttopnm Command Examples

Convert a Sun rasterfile to a PNM file. More information: https://netpbm.sourceforge.net/doc/rasttopnm.html.

rasttopnm {{path/to/input.rast}} > {{path/to/output.pnm}}

rasttopnm -index {{path/to/input.rast}} > {{path/to/output.pnm}}