[GRASS-dev] [GRASS GIS] #2403: cairo driver fails to create surface

GRASS GIS trac at osgeo.org
Tue Dec 9 18:16:34 PST 2014


#2403: cairo driver fails to create surface
----------------------------------------+-----------------------------------
 Reporter:  martinl                     |       Owner:  martinl    
     Type:  defect                      |      Status:  assigned   
 Priority:  major                       |   Milestone:  7.0.0      
Component:  Display                     |     Version:  unspecified
 Keywords:  cairo, resolution, surface  |    Platform:  Linux      
      Cpu:  x86-64                      |  
----------------------------------------+-----------------------------------

Comment(by glynn):

 Replying to [comment:6 martinl]:

 > I was thinking about something similar, btw, is there any display driver
 in GRASS which already doing down-sampling? Thanks for any hint.

 The PNG driver resamples each row and stores it directly in the image.

 The PS driver writes the data to the PostScript file as-is (after
 conversion to hex). This can potentially result in huge files, but it
 doesn't affect memory requirements (PostScript "streams" image data into
 the frame-buffer from the input file; it doesn't store it in memory prior
 to rendering).

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2403#comment:7>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list