GNOME Bugzilla – Bug 330083
curves tool: damaged image when changing mode from RGB to grayscale
Last modified: 2008-01-15 13:04:58 UTC
I can reproduce the following effect with several images (scans from foto-negatives) in TIFF-format, 24BitsPerPixel and RGB-mode -Open tools->colors->curves and change a curve (don't close the tool-window!) -change image-mode from RGB to grayscale -change again a curve => the image becomes a cubistic design, means there are a lot of squares in it Opening the images brings up the message "unknown field with tag 317 (0x13d) encountered". Don't know, if it have context to the problem. Got this on 2 different PC's, so I don't think it depends on hardware. The first time I tried it (on PC1), gimp crashes. But that was not reproducible. OS: PC1->W2K with SP4. PC2->WinXP Workaround: close curves-tool before changing the image-mode and re-open it after changing the mode
The tool should be cancelled/reset on image mode changes.
Fixed in HEAD: 2006-05-21 Michael Natterer <mitch@gimp.org> * app/tools/tool_manager.c (tool_manager_image_clean_dirty): don't try to reset the active tool by destroying and re-creating it because this doesn't work while gimp->busy is TRUE. Call tool_manager_control_active(HALT) instead, which is the right way to do it anyway. Fixes bug #330083. Sprinkled some local variables all over the place to get rid of a gazillion tool_manager->active_tool.
And in 2.2: 2006-05-21 Michael Natterer <mitch@gimp.org> Merge from HEAD: * app/tools/tool_manager.c (tool_manager_image_clean_dirty): don't try to reset the active tool by destroying and re-creating it because this doesn't work while gimp->busy is TRUE. Call tool_manager_control_active(HALT) instead, which is the right way to do it anyway. Fixes bug #330083.