[GRASS-dev] Re: [GRASS GIS] #967: r.out.png: respect TRANSPARENT and COMPRESSION enviro vars

GRASS GIS trac at osgeo.org
Fri Feb 26 22:42:46 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                
Resolution:               |    Keywords:  r.out.png                
  Platform:  All          |         Cpu:  All                      
--------------------------+-------------------------------------------------
Comment (by hamish):

 patch attached to add transparency, compression, and background color
 options to r.out.png. Patch is vs 6.5svn.

  * I'm not sure how useful bgcolor= is, as I'm not sure how often "set" is
 likely to return no-color from G_lookup_raster_colors(), or really what
 triggers that to be set==0. Or should bgcolor= override the color table's
 "nv" color for NULL cells when there's no alpha channel? Is "set" like the
 default("*") lesser used rule in the color tables?

  * the pointer for G_is_null_value() is specified in a rather raw way.
 Ideas for improvement are welcome.




 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/967#comment:2>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list