Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Convert RAST to PNM - Transform Rasterfiles | Online Free DevTools by Hexmos

Convert RAST images to PNM files with rasttopnm. Transform rasterfiles to portable network maps for wider compatibility. Free online tool, no registration required.

rasttopnm

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

  • 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}}

See Also