It's not exactly clear what you want to do. However, take a look at my d.out.png script. It is distributed with GRASS 5.3 and 5.7 and can also be found on my website <www.public.asu.edu/~cmbarton/grass.htm>
It allows you to output a raster PNG image of the current display monitor at single, double, and quad resolution. If you want to set the monitor to a specific size prior to this, use d.monsize.
____________________
C. Michael Barton, Professor
School of Human Origins, Cultures, & Societies
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA
Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>
On Jun 28, 2004, at 3:01 AM, grass5-request@grass.itc.it wrote:
From: Prabhath Sirisena <prabhath@vesess.com>
Date: June 27, 2004 3:48:20 AM MST
To: grass5@grass.itc.it
Subject: [GRASS5] Grass newbies in dire straitsWe are using GRASS 5.0.3.
How can we dynamically extract an image of
specified size from a vector map (we have
an Autocad DXF)within GRASS? Any raster image
format would do.This needs to be done through a programming
language (possibly Java or C) as GRASS will
be on the server side in the client/server
application we are developing.