On Tue, 2008-02-05 at 17:50 +1030, David Gowers wrote:
> Basically it fixes over/underflow in the Levels op;
Your approach is not the right way to fix this. There is absolutely
nothing wrong with under- and overflows if we are using GEGL. The
problem you are seeing is that some of the float->8bit conversions in
babl are not handling colors outside the 0..1 range properly. You can
fix this by running GIMP with the environment variable BABL_ERROR set to
0.0. This will select correct, but slower, conversion routines and you
will notice that this fixes the error.
We need to fix this in babl. Conversions that don't deal correctly with
values outside the [0.0;1.0] inverval need to be assigned a large error
so that they are not being selected.
Gimp-developer mailing list