[GRASS-dev] Re: [GRASS GIS] #937: cairo driver: d.legend colors all broken

GRASS GIS trac at osgeo.org
Mon Feb 15 06:00:40 EST 2010


#937: cairo driver: d.legend colors all broken
----------------------+-----------------------------------------------------
  Reporter:  hamish   |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect   |      Status:  new                      
  Priority:  major    |   Milestone:  7.0.0                    
 Component:  Display  |     Version:  svn-trunk                
Resolution:           |    Keywords:  cairo, d.legend          
  Platform:  Linux    |         Cpu:  x86-64                   
----------------------+-----------------------------------------------------
Comment (by hamish):

 > I can't reproduce this.

 trunk/
 {{{
 export GRASS_PNGFILE=map.bmp
 export GRASS_WIDTH=640
 export GRASS_HEIGHT=480
 export GRASS_RENDER_IMMEDIATE=cairo
 export GRASS_PNG_MAPPED=TRUE
 export GRASS_PNG_READ=TRUE

 #spearfish
 d.erase
 wximgview $GRASS_PNGFILE percent=50 &
 d.legend roads
 }}}

 (smooth legends are just as bad)


 bmptopnm complains:
 {{{
 bmptopnm: Unrecognized bits per pixel in BMP file header: 32
 }}}

 so I had to use xwd+wximgview for the attached screenshot.


 Hamish

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


More information about the grass-dev mailing list