[Gimp-developer] Fwd: GIMP Levels operation fix

2008-02-04 Thread David Gowers
Hi, I sent this simple fix to mitch, however I'm too impatient to wait for mitch to check his inbox, So I'm now passing it onto this mailing list. Basically it fixes over/underflow in the Levels op; with the attached image, the bug gives the appearance of a triangle wave repeating gradient,

Re: [Gimp-developer] Fwd: GIMP Levels operation fix

2008-02-04 Thread Sven Neumann
Hi, 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