[GRASS-dev] Re: [GRASS GIS] #943: wxpython gui hangs after
switching to cairo display driver
GRASS GIS
trac at osgeo.org
Thu Feb 18 03:56:15 EST 2010
#943: wxpython gui hangs after switching to cairo display driver
----------------------+-----------------------------------------------------
Reporter: epatton | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: normal | Milestone: 6.5.0
Component: Display | Version: svn-develbranch6
Resolution: | Keywords: cairo, driver, gui, wxpython
Platform: Linux | Cpu: x86-64
----------------------+-----------------------------------------------------
Comment (by glynn):
Replying to [comment:5 hamish]:
> this still locks up with 64bit grass 6.5 + debian/stable.
>
> I wonder if it is the different enviro vars needed for Cairo in 6.5?
>
{{{
export GRASS_CAIRO_READ=TRUE
export GRASS_CAIRO_MAPPED=TRUE
export GRASS_CAIROFILE=map.png
}}}
GRASS_CAIRO_MAPPED only works with BMP images, not any of the other
formats. If the filename doesn't end in ".bmp", GRASS_CAIRO_MAPPED is
silently ignored.
The file must have the correct size (width * height * 4 + HEADER_SIZE
bytes).
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/943#comment:7>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list