GNOME Bugzilla – Bug 702699
value invert and invert have different result on grayscale images
Last modified: 2013-06-24 09:07:47 UTC
Created attachment 247294 [details] shows the issue This can be easyly shown with a gradient black --> white Applying "value invert" shows equally distributed bars in the histogram. Applying "invert" shows a strange non-linear distribution (gamma 2.2 doesn't really fit) On 2.8.4 it works as expected.
This got fixed by using the new gegl:invert-gamma operation: commit f56f6d125563ca2ad5eb5663b39ba0ff2f22f038 Author: Michael Natterer <mitch@gimp.org> Date: Mon Jun 24 00:45:04 2013 +0200 app: follow the GEGL invert -> invert-linear vs. invert-gamma change and invert masks using invert-linear and other drawables using invert-gamma. drawable_invert_cmd_callback() still always uses invert-gamma even though it can be used on layer masks.