Hi,<br><br><br>as you may have seen I have started a new branch krita-selection-grayscale-langkamp with some experiments around grayscale masks. Dmitry wanted to have a mail to show what I&#39;m doing.<br><br>So for now I have changed pixel and vector selection to use a grayscale with no alpha channel instead of the current alpha colorspace. I have also fixed the marching ants to work with that.<br>
<br>The biggest problem currently is that in most parts we assume the non-selected parts to be transparent. Now the default pixel of the selection isn&#39;t transparent anymore which means that extent() will fallback to use KisDefaultBounds and often return an pratically infinite rect. I&#39;m think about adding a parameter to extent() and the other methods to optionally not use default bounds here.<br>
<br><br>Sven<br>