Converting Grass raster to GIF or TIFF

On Tue, 30 Jan 1996, DUNN JEREMY SIMON wrote:

Good Morning ,

Is there anyway in Grass4.1 to convert a Grass raster file into a GIF or
TIFF file?

Try to find r.out.ppm
This converts a grass raster to a portable pixmap. Then use xv or the
pbmplus (newer version is netplus) package to convert it to whatever you
want (gif,tif,jpeg,ps ...).

I think r.out.ppm is available on moon in /grass/incoming

                        Bart
        ---------------------------------------------------
        | ir. Bart Cosyn |
        | VLIR-project Tunisia |
        | Laboratory for Hydrology and Water Management |
        | University of Gent |
        | Coupure 653, B-9000 Gent |
     | Belgium |
        | Tel: +/32/9/2646137 |
        | Fax: +/32/9/2646236 |
        | E-mail: bcosyn@allserv.rug.ac.be |
        | URL: http://taoren.rug.ac.be/ |
        ---------------------------------------------------

Display with either d.mon or ps.map (printer preview) and use xwd to
create a file.xwd Then use the p*m suite:

xwdtopnm file.xwd | pnmtotiff > file.tiff

Agus

***************************************************
Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Marti Franques s/n
08028 Barcelona (Spain)

tel. 34 3 330 2716
fax. 34 3 411 0012

alobo@ija.csic.es
alobo@eno.princeton.edu
***************************************************