[GRASS-dev] [GRASS GIS] #967: r.out.png: respect TRANSPARENT and
COMPRESSION enviro vars
GRASS GIS
trac at osgeo.org
Fri Feb 26 07:27:48 EST 2010
#967: r.out.png: respect TRANSPARENT and COMPRESSION enviro vars
-------------------------+--------------------------------------------------
Reporter: hamish | Owner: grass-dev at lists.osgeo.org
Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Keywords: r.out.png | Platform: All
Cpu: All |
-------------------------+--------------------------------------------------
Hi,
Peter Löwe discovered that r.out.png does not respect GRASS_TRANSPARENT or
GRASS_PNG_COMPRESSION, which limits the module's usefulness. (especially
the lack of NULL->alpha)
I'm guessing we should have it respect both GRASS_TRANSPARENT and a module
flag, if they conflict I guess go with the enviro variable.
Same for compression with a module option=1-9.
a work-around for now is to use the PNG driver with GRASS_WIDTH and HEIGHT
taken from the image meta data.
thanks,
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/967>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list