Solution for the grayscale selections

Boudewijn Rempt boud at valdyas.org
Tue Sep 25 09:32:49 UTC 2012


On Tue, 25 Sep 2012, Dmitry Kazakov wrote:

> That is almost exactly what I am going to do. The question is (more exactly, what Boud doesn't like) how do we
> tell the tools to use that GRAYA colorspace when painting on GRAY paint devices. I suggest using a method
> KisPaintDevice::paintingColorSpace(). What we need to do in this case is just to change all the
> device()->colorSpace() to device()->paintingColorSpace() in the code of creation dabs in the paint ops. This
> solution is quite logical and consistent given that no code in the paint ops will access device()->colorSpace().
> And Boud objects this.

Yes, strenuously. I think this is api pollution.

You will have to come up with a proper solution,
or leave the problem for another problem. Sorry
to be a blocker, but I cannot accept this solution.


Boudewijn


More information about the kimageshop mailing list