Selections

Sven Langkamp longamp at reallygood.de
Thu Aug 19 20:06:07 CEST 2004


Boudewijn Rempt wrote:

>I've just committed some code that shows more or less where I want to go with 
>selections. You can load an image and start painting selections with the 
>select brush, and the unselected area is shown as a kind of milky-white 
>transparent painted mask. I believe, actually, that this is how the Gimp and 
>Photoshop do masks, but I've never understood those.
>  
>
It would be useful if you can paint inverted selections (selected area 
milky-white).

>Anyway, there is still a little todo to do:
>
>* selections are now complete layers of the same type as the layer they're a 
>selection of. I'd prefer if they're just one byte wide per pixel, no matter 
>which colour type their layer is. But if I want to do that, I'll have to 
>implement heterogenous layer compositing, which is a bit hard at the moment 
>since the colour strategy of the receiving layer knows nothing about the 
>bytes it's going to composite with and has to assume it's the only thing it 
>knows, its own type.
>
The other selections should work with the same layer, so that you can 
select something in normal mode and see this selection in painting 
selection mode too.

Sven


More information about the kimageshop mailing list