<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div>I have now tried the alpha()==grayChannel() by overwriting opacityU8 as<br>
<br>quint8 KoGrayColorSpace::opacityU8(const quint8* U8_pixel) const<br>
{<br>    return *U8_pixel;<br>}<br><br>Interesting is that gradients works correctly, but paint doesn&#39;t respect the transparent areas of the brush.<br></div></div></blockquote><div><br>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.<br>
<br> </div></div>-- <br>Dmitry Kazakov<br>