[GRASS-dev] Re: lib/image

Glynn Clements glynn at gclements.plus.com
Fri Jun 16 03:01:59 EDT 2006


Hamish wrote:

> > Definitely A.  The SGI image format isn't even widely supported by many
> > viewers these days.  In order to check the images, I have to load them
> > up in GiMP.
> 
> 
> using netpbm tools:
> 
>  sgitopnm image.rgb | pnmtopng > image.png

Note that there's also the complementary "pnmtosgi" command, just in
case anyone really needs to get .rgb images out of GRASS after support
has been removed.

The only time I've ever encountered .rgb images is with sample OpenGL
programs (GLUT, redbook).

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list