After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 702699 - value invert and invert have different result on grayscale images
value invert and invert have different result on grayscale images
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: General
git master
Other All
: Normal normal
: 2.10
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2013-06-19 22:29 UTC by immanuel
Modified: 2013-06-24 09:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
shows the issue (132.20 KB, image/png)
2013-06-19 22:29 UTC, immanuel
Details

Description immanuel 2013-06-19 22:29:43 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.
Comment 1 Michael Natterer 2013-06-24 09:07:47 UTC
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.