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 675964 - Compositing modes for on gamma-corrected data missing (for legacy support)
Compositing modes for on gamma-corrected data missing (for legacy support)
Status: RESOLVED FIXED
Product: GEGL
Classification: Other
Component: operations
git master
Other Linux
: Normal normal
: ---
Assigned To: Default Gegl Component Owner
Default Gegl Component Owner
Depends on:
Blocks: 675962
 
 
Reported: 2012-05-13 03:13 UTC by Jon Nordby
Modified: 2014-02-24 22:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jon Nordby 2012-05-13 03:13:44 UTC
All the current compositing modes operate in linear light (for good reasons).
However, to correctly render legacy files (OpenRaster and XCF) we also need operations that operate on gamma-corrected data.

The operations should at least cover the blending modes used by GIMP 2.8. This should be a superset of the ones specified in OpenRaster and used by MyPaint 1.0
Comment 1 Jon Nordby 2012-06-01 12:51:22 UTC
Øyvind said on IRC that this should be done by extending the code generation we already do in operations/generated to produce new operations for the sRGB case with the suffix -srgb in the name.
Comment 2 Daniel Sabo 2014-02-24 22:05:56 UTC
Adding a property has worked well for gimp and is less duplicate code for now, may revisit the naming issue if the generators get rewritten at some point.

commit 570ee3a4807bdd3138463b6ac96ef257cd13c34c
Author: Daniel Sabo <DanielSabo@gmail.com>
Date:   Sat Oct 12 07:38:10 2013 -0700

    operations: Add sRGB option to gegl:over

commit 6cec4e4a60a5e80a08d2d5878c90dad574abbd2c
Author: Daniel Sabo <DanielSabo@gmail.com>
Date:   Mon Oct 7 01:03:19 2013 -0700

    operations: Add sRGB option to svg blends