Re: [Gegl-developer] TODO for GEGL 0.3

2014-09-05 Thread Øyvind Kolås
On Thu, Sep 4, 2014 at 9:48 PM, Teo Mazars wrote: ... > add a "gamma-correction" toggle if needed (like the "srgb" boolean in over. In this particular instance I would offer the opposite advice :). Remove the "gamma-correction" toggle / "srgb" boolean, and create a separate "gegl:over-perceptual"

Re: [Gegl-developer] TODO for GEGL 0.3

2014-09-05 Thread Téo Mazars
I am not convinced. The way it's done is fine in my opinion, mainly because it doesn't duplicate the implementation. What you suggest would be to create specialized meta operations foo-linear and foo-perceptual on top of foo with fixed "srgb" parameters and to hide foo... Right? I am not sure why t

Re: [Gegl-developer] TODO for GEGL 0.3

2014-09-05 Thread Øyvind Kolås
On Fri, Sep 5, 2014 at 2:24 PM, Téo Mazars wrote: > I am not convinced. The way it's done is fine in my opinion, mainly because > it doesn't duplicate the implementation. What you suggest would be to create > specialized meta operations foo-linear and foo-perceptual on top of foo with > fixed "srg