Did something break with the selection?

Silvio Heinrich plassy at web.de
Fri Apr 29 14:29:56 CEST 2011


On 04/29/2011 11:06 AM, Cyrille Berger Skott wrote:
> On Friday 29 April 2011, Boudewijn Rempt wrote:
>> Yes, with 16 bit rgba I can confirm... This is pretty weird, it needs some
>> deep investigation, since this is supposed to be colorspace independent!
> Actually:
>
> Works: RGB8, Gray8, Rgb16float, Rgb32float
> Don't work: RGB16, Gray16
>
> The pattern I see here is that the color space that have more than 8bits and
> use the new composite ops have a problem. My guess is that they don't treat
> the selection value correctly, my hypothesis is that they use it as 8bits and
> don't scale it as 16 bits, which is my current most likely hypothesis, based
> on the behaviour of the "build up" mode while painting on a selected area.
>
> Oh and related to this bug:
> https://bugs.kde.org/show_bug.cgi?id=271090
Thank you for this suggestion but I'm afraid that this is not the case :-(
(I've could have fixed it easily if it where).
I checked the code and I wasn't able to find anything.
To make sure I didn't miss anything I enabled all the old composite ops 
again and
even did a reset of KoCompositeOpCopy2.h to the state before I modified 
anything.
But the problem was still present :/
And Btw: Even now the old CompositeOp for the "Normal" blending mode is 
used (KoCompositeOpOver.h), so this weird
behavior of the build-up mode should only occur with the other blending 
modes (and this isn't the case, too).

Do you have any other suggestion?


More information about the kimageshop mailing list