Re: [Gegl-developer] Is gegl_buffer_* aware of source color profile?

On Tue, Jan 21, 2020 at 9:49 AM JonnyRobbie via gegl-developer-list
<gegl-developer-list gnome org> wrote:

For example, let's say I'm developing a gimp plugin and I'm using gegl_buffer_iterator_* to get the data. 
And I want to manipulate the data in profile connection space CIE xyY. I have:

If you are creating an image processing filter - and you are dealing
with a single input and output drawable, rather than doing layer or
mask management you should be creating a GEGL operation and not a GIMP
plug-in, to get benefits of auto-constructed parameter UI, as well as
future integration with non-destructive editing in GIMP. GeglBuffer is
aware of the RGB space encoding also when the set format is CIE Lab.

I think this is is more of a GIMP dev question than a GEGL dev
question though, the ways this is hooked up has improved in GIMP-2.99
(master) over 2.10 - you might be seeing the lack of support for
custom color spaces in 2.10, as it is GIMP and not GEGL that is
synchronizing any spaces between drawables in core and plug-ins.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]