On Feb 16, 2009, at 6:34 PM, <[email protected]> wrote:
Date: Tue, 17 Feb 2009 10:40:52 +1100 From: Richard Chirgwin <[email protected]> Subject: [GRASS-user] Display output question To: GRASS user list <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Hi all, What's the command-line equivalent to using the JPG export in the display manager? (I would like to script outputs from a number of workspace - GRC - files). Cheers, Richard
What happens in TclTk is that the display output is set to a PPM file instead of monitor. Then any d.* command creates a graphic file. The display graphic file is then converted to a jpeg. The latter can be done by a variety of programs, including gdal-translate.
In wxPython, the display can be saved in a number of different formats using wxPython drivers.
Michael _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
