Grayscale Selections

Dmitry Kazakov dimula73 at gmail.com
Sun Jun 26 07:27:02 CEST 2011


> I have now tried the alpha()==grayChannel() by overwriting opacityU8 as
>
> quint8 KoGrayColorSpace::opacityU8(const quint8* U8_pixel) const
> {
>     return *U8_pixel;
> }
>
> Interesting is that gradients works correctly, but paint doesn't respect
> the transparent areas of the brush.
>

Does it happen when you paint on the selection? Or when you paint on a
regular layer with selection activated? If first, I guess, we need to take a
look into the compositioning of an rgb color space into this special color
space.


-- 
Dmitry Kazakov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kimageshop/attachments/20110626/3df1cf14/attachment.htm 


More information about the kimageshop mailing list