[GRASS-dev] Re: [GRASS GIS] #72: PNG driver: boundary rendering is off by one pixel

GRASS GIS trac at osgeo.org
Wed Dec 3 06:21:16 EST 2008


#72: PNG driver: boundary rendering is off by one pixel
--------------------------+-------------------------------------------------
  Reporter:  hamish       |       Owner:  grass-dev at lists.osgeo.org    
      Type:  defect       |      Status:  new                          
  Priority:  blocker      |   Milestone:  6.4.0                        
 Component:  default      |     Version:  svn-develbranch6             
Resolution:               |    Keywords:  d.vect, rendering, PNG_DRIVER
  Platform:  Unspecified  |         Cpu:  Unspecified                  
--------------------------+-------------------------------------------------
Comment (by glynn):

 Replying to [comment:12 hamish]:

 > thanks a lot for looking into this- to me this issue is a really bad
 look for us, sloppy output makes the project look sloppy. (and annoying
 for me to have to use xwd instead of d.out.file in 6.4.

 If you want quality, I would expect both the cairo and PS drivers to
 produce better results overall than either PNG or XDRIVER. However, you
 might run into corner cases where code relies upon the half pixel down-
 right shift, which isn't present in those drivers. You might also run into
 problems with the distinction between polylines and multiple line segments
 (caps versus joins) being visible.

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


More information about the grass-dev mailing list