#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.