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 749628 - new conversions to/from "CIE Lab alpha float" and "RGBA float"
new conversions to/from "CIE Lab alpha float" and "RGBA float"
Status: RESOLVED FIXED
Product: GEGL
Classification: Other
Component: babl
git master
Other Linux
: Normal enhancement
: ---
Assigned To: Default Gegl Component Owner
Default Gegl Component Owner
Depends on:
Blocks:
 
 
Reported: 2015-05-20 12:26 UTC by Thomas Manni
Modified: 2015-05-21 13:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
new conversions to/from "CIE Lab alpha float" and "RGBA float" (4.52 KB, patch)
2015-05-20 12:26 UTC, Thomas Manni
none Details | Review

Description Thomas Manni 2015-05-20 12:26:08 UTC
Created attachment 303658 [details] [review]
new conversions to/from "CIE Lab alpha float" and "RGBA float"

This patch adds to babl master branch, work initially done in a gimp patch, related to the new Gimp CIE LCH blending modes.

- new babl model CIE L alpha float

- new conversions:
-- "RGBA float" to  "CIE Lab alpha float"
-- "CIE Lab alpha float" to "RGBA float"
-- "YA float" to "CIE L alpha float"

gimp bug: https://bugzilla.gnome.org/show_bug.cgi?id=325564

patch concerned: https://bugzilla.gnome.org/attachment.cgi?id=299489&action=diff
Comment 1 Massimo 2015-05-20 16:36:04 UTC
I agree that this code should be in babl. I just moved it
to gimp-babl.c for simplicity, ie to keep the LCH blend mode
patchset based on a single repository.
Comment 2 Øyvind Kolås (pippin) 2015-05-20 22:15:36 UTC
commit f4cc927054d4e3554734456ebc14b2fdc2c895b6
Author: Thomas Manni <thomas.manni@free.fr>
Date:   Wed May 20 12:12:35 2015 +0200

    CIE: new conversions to/from "CIE Lab alpha float" and "RGBA float"
Comment 3 Øyvind Kolås (pippin) 2015-05-21 13:32:21 UTC
commit 3b14d5b08cce705eb84ea788d4259f99eab7602f
Author: Thomas Manni <thomas.manni@free.fr>
Date:   Thu May 21 01:33:54 2015 +0200

    CIE: minor cleanups
    
    Use macros for kappa, epsilon and D50 reference white in all places
    Remove duplicated comments