Re: [Gimp-developer] Lab conversion, GEGL, RGB space, Illuminant

2010-08-13 Thread yahvuu
On 13.08.2010 02:34, Robert Krawitz wrote: Date: Thu, 12 Aug 2010 18:58:45 +0200 From: yahvuuyah...@gmail.com OK, here i'm silently presuming that GIMP is fed with absolute color data (meaning that the device color profile is known in case device dependend colors are

Re: [Gimp-developer] Lab conversion, GEGL, RGB space, Illuminant

2010-08-13 Thread jcupitt
On 13 August 2010 02:57, James Cox jay...@gimp.org wrote: You don't need to worry that the sRGB gamut is rather small since, because GEGL is using float, it can represent values outside the gamut as less than 0 or greater than 1. That sounds good in theory, but there will be some very sharp

Re: [Gimp-developer] Lab conversion, GEGL, RGB space, Illuminant

2010-08-13 Thread Øyvind Kolås
On Fri, Aug 13, 2010 at 9:06 AM, jcup...@gmail.com wrote: On 13 August 2010 02:57, James Cox jay...@gimp.org wrote: You don't need to worry that the sRGB gamut is rather small since, because GEGL is using float, it can represent values outside the gamut as less than 0 or greater than 1.

Re: [Gimp-developer] Lab conversion, GEGL, RGB space, Illuminant

2010-08-13 Thread Øyvind Kolås
On Thu, Aug 12, 2010 at 2:39 PM, Rupert Weber g...@leguanease.org wrote: Regarding BABL: i've had a look at extensions/CIE.c and found conversion routines using linear light RGB with the sRGB primaries and white point -- that is scRGB. Everything fine here. Now i'm not familier with BABL

Re: [Gimp-developer] Lab conversion, GEGL, RGB space, Illuminant

2010-08-13 Thread Øyvind Kolås
On Fri, Aug 13, 2010 at 4:17 PM, Rupert Weber g...@leguanease.org wrote: On 08/13/2010 01:57 PM, Øyvind Kolås wrote: That code is never used (gggl-lies contains a bunch of conversions, some which are expected to fail - but only the correct ones pass the runtime regression testing all

Re: [Gimp-developer] Lab conversion, GEGL, RGB space, Illuminant

2010-08-13 Thread James Cox
jcup...@gmail.com wrote I open up an image to make a small change to one corner. Why did other parts of my image change color slightly?  Because Round tripping through a color profile is not lossless (some profiles are worse than others). Well, that's certainly true. Though open/edit/save,

Re: [Gimp-developer] Lab conversion, GEGL, RGB space, Illuminant

2010-08-13 Thread Graeme Gill
yahvuu wrote: That was thought as color data that is defined in an absolute color space, or can be unambiguously transformed into such a color space. Perhaps a better term is 'unambiguous color data'. Unfortunately, due to the adaptability of human vision, there is really no such thing as

Re: [Gimp-developer] Lab conversion, GEGL, RGB space, Illuminant

2010-08-13 Thread Graeme Gill
James Cox wrote: Converting to/from synthetic color spaces like sRgb and AdobeRGB will be lossless aside from very minor numerical rounding issues. Note that this is not true if you exceed the gamut of these two spaces, and the resulting device values are clipped to the range 0 - 1. Graeme