Painting on selections and selection masks

Cyrille Berger Skott cberger at cberger.net
Sat Oct 29 18:53:55 UTC 2011


On Saturday 29 October 2011, Boudewijn Rempt wrote:
> On Saturday 29 October 2011 Oct, Cyrille Berger Skott wrote:
> > There is no problem for Krita to handle pre-multiplied colorspaces, 
> > since a premultiplied RGBA, is actually defined as (a*R, a*G, a*B, a).
> > And if there is such an assumption, it is a bug ;) It would mean that
> > somewhere Krita makes assumption about the color data.
> 
> It's either a bug, or a design decision that permeates all our code. Either
> way, it's not feasible to refactor, redesign or fix for 2.4.

Do we even have any attempt at a premultiplied color space ? That is the first 
time I hear it... If so, can I have a look at the code ?

> * we are talking about a 2 year old critical bug
> * we are one month away from the final release
> * we have tried the following solutions:
> 	* fix the gray colorspace
> 	* fix he alpha colorspace
> 	* special case dab creation
> 	* patch over the difference in design assumptions inside KisSelection
> * everything failed except the last attempt, which has its disadvantages
> * we cannot do a big refactoring of pigment or all of Krita in time for the
> release.
Sure... So what did you expect from your email ? Do you need help fixing the 
patches ?

-- 
Cyrille Berger Skott


More information about the kimageshop mailing list