Piping p.map results to a file

anne at cast.uark.edu anne at cast.uark.edu
Tue May 14 08:00:00 EDT 1996


?at?May?13??96?02?56?48?pm at bnr.ca>
content-type: text/plain; charset=US-ASCII
organization: University of Illinois at Urbana
mime-version: 1.0
reply-to: grassu at isis.cecer.army.mil
newsgroups: info.grass.user
originator: daemon at ux1.cso.uiuc.edu



Jerry Cox wrote:
> 
> Hello,
> 
> I am very interested in finding a method to save a map produced with p.map,
> as a 
> GIF or BMP or PCX or JPEG image.  The idea is to have pretty images,
> generated in GRASS, available as part of a Web page.  I have seen the
> visualization and image demo's available at cecer, but I can't seem to find
> information concerning the methods for saving (exporting, etc) a "plotfile"
> as a GIF, JPEG, etc.
> My thanks to those who can help.
> 
> Have a nice day,
> 
> Jerry Cox
> No professional affiliation, just a seeker of help.
> 
> 
This is done by selecting ppm as an output device:
   p.select ppm
When p.map is executed, a file called paint.ppm is created in your
home directory. It can then be transformed to a GIF or other
format using the ppm filters or the public domain tool, xv.

I would like to add to this dicussion.
The images obtained using the method, above have a somewhat coarse
resolution, coarser than when sending the output to a printer. 
Is there an easy way, to improve their resolution. If
not, does anyone know which part of the source code could be 
modified?
Thanks in advance.
Anne Gisiger
-- 
Anne Gisiger - GIS/Database Specialist           FAX: (501) 575-5218
CAST, Center for Advanced Spatial Technologies   TEL: (501) 575-6159    
12 Ozark Hall, University of Arkansas         
Fayetteville AR 72701                             anne at cast.uark.edu 
                Web Page for CAST:          http://www.cast.uark.edu





More information about the grass-user mailing list