[GRASS-dev] [GRASS GIS] #2033: Moving g.pnmcomp to lib/display to improve render performance of wxGUI

Martin Landa landa.martin at gmail.com
Tue Nov 26 13:51:05 PST 2013


Hi,

2013/11/26 Glynn Clements <glynn at gclements.plus.com>:

> The fastest solution is what you get if you use the cairo driver and
> $GRASS_PNGFILE has a ".xid" suffix. The driver creates an X11 or

it's not really related to this issue. Anyway it would be probably
good idea to rename all environmental variables related to rendering,
e.g. GRASS_WIDTH to GRASS_DISPLAY_WIDTH, GRASS_DISP_WIDTH, or
GRASS_RENDER_WIDTH and so on.

The variable GRASS_PNGFILE is also very misleading name, it's not used
only for producing PNG files. Cairo driver supports many formats which
are given by filename extension, so probably GRASS_DISPLAY_FILE would
be better.

What do you think?

Martin


More information about the grass-dev mailing list