GNOME Bugzilla – Bug 616075
plugin crash when trying to save indexed file as PNM
Last modified: 2011-03-17 20:20:16 UTC
How to reproduce: 1. Create a new image. 2. Change the image's mode to indexed. 3. Try to save the image as PNM. What happens: 1. GIMP displays a dialog box indicating that the file-pnm plugin has crashed. 2. A file is created containing the two bytes 'P6'. What should happen: 1. GIMP should display a warning that the PNM file format does not support indexed color mode. 2. GIMP should offer to convert the indexed file to RGB and save it.
Created attachment 159043 [details] ScreenShoot GIMP When I reproduce your steps I get this Image, This is your propost?
In current devel gimp (2.7.1), (but with some local changes to the code) no crash occurs. Using Export, not Save, which is the new user-interface. Functionality: ASCII-pnm is saved as pic, and can be viewed with pic-viewer. BINARY-pnm is not correctly, containing some header bytes followed by 0xFF until end of file.
I can't reproduce any of this bug in the master branch.
This seems to be a duplicate of bug #606372. Also see comment #3. I am unable to reproduce this bug in master, or the 2.6 branch. *** This bug has been marked as a duplicate of bug 606372 ***