commands.sh

rasttopnm

all

Convert a Sun rasterfile to a PNM file.

More info →

Options (1)

-iboolean

Use the color map indices in the raster if they are color values

Example: rasttopnm {{[-i|-index]}} {{path/to/input.rast}} > {{path/to/output.pnm}}

Examples (2)

Convert a RAST image to a PNM file

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

Use the color map indices in the raster if they are color values

rasttopnm [-i|-index] path/to/input.rast > path/to/output.pnm
made by @shridhargupta | data from tldr-pages