[GRASS-dev] [GRASS GIS] #138: PNG_driver: boundary at right side is one Pixel off

GRASS GIS trac at osgeo.org
Thu Apr 24 11:48:58 EDT 2008


#138: PNG_driver: boundary at right side is one Pixel off
------------------------+---------------------------------------------------
 Reporter:  schulzea    |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect      |      Status:  new                      
 Priority:  major       |   Milestone:                           
Component:  default     |     Version:  unspecified              
 Keywords:  PNG_driver  |  
------------------------+---------------------------------------------------
 I want to export an image with the PNG driver, but there seems to be a
 problem. Always I get a vertical line with 1 Pixel width.
 I use the following configuration for the export:

 export GRASS_WIDTH=317

 export GRASS_HEIGHT=317

 export GRASS_PNGFILE=$GISDBASE/tester.png

 export GRASS_TRANSPARENT=TRUE

 export GRASS_TRUECOLOR=TRUE

 d.mon start=PNG

 d.rast map=tester

 d.mon stop=PNG

 r.info for this raster shows col=317 and row=317

 When I use r.out.pgn everything is fine. I get an image (317x317) without
 this vertical line. But I need the transparence.

 I use grass 6.2.2 under Ubuntu.
 Is an error of myself or a bug?

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/138>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/


More information about the grass-dev mailing list