always an alpha channel

Boudewijn Rempt boud at
Wed Sep 15 12:54:22 CEST 2004

On Wednesday 15 September 2004 12:08, Casper Boemann wrote:
> ----- Original Message -----
> From: "Boudewijn Rempt" <boud at>
> >Currently, Krita has quite a lot of code, and some of it none to clear, to
> >support color models with an without an alpha channel. Couldn't we for
> >krita-internal use always have an alpha channel present? It would simplify
> >the code a lot...
> But what if we want a colormodel with an alpha per colorchannel..

And the function of the eraser becomes different... On the other hand, with 
the current code, it's hard to add an alpha channel to an image that doesn't 
have one. Maybe always have one that's dormant.

> As long as we don't lock ourselves into a corner, you idea is ok, but be
> careful...

Or we could make it more explicit by having a color strategy for each type, 
but that would lead to code duplication.

Boudewijn Rempt | "Geef mij maar zuurtjes."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the kimageshop mailing list