[GRASS-dev] [GRASS GIS] #1842: d.linegraph writes a pgm file instead of ppm

GRASS GIS trac at osgeo.org
Fri May 10 06:52:05 PDT 2013


#1842: d.linegraph writes a pgm file instead of ppm
--------------------------------+-------------------------------------------
 Reporter:  lucadelu            |       Owner:  grass-dev@…              
     Type:  defect              |      Status:  new                      
 Priority:  normal              |   Milestone:  7.0.0                    
Component:  Display             |     Version:  svn-trunk                
 Keywords:  d.linegraph, d.mon  |    Platform:  All                      
      Cpu:  Unspecified         |  
--------------------------------+-------------------------------------------

Comment(by glynn):

 Replying to [ticket:1842 lucadelu]:

 > d.linegraph writes a pgm file instead of ppm and d.mon returns an error

 If the PNG driver is asked to generate a PPM file and the data has an
 alpha channel, it will generate both a .ppm file and a .pgm file. The .ppm
 file is written first, and a fatal error will be raised if the file cannot
 be opened (so the .pgm won't be created).

 If you have a .pgm file without a matching .ppm file, the most likely
 reason is that something has deleted the .ppm file.

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



More information about the grass-dev mailing list