Effect masks vs. selections and "embedded" transparency masks

Sven Langkamp sven.langkamp at gmail.com
Sat Sep 5 16:31:44 CEST 2009


On Sat, Sep 5, 2009 at 5:12 AM, Dmitry Kazakov <dimula73 at gmail.com> wrote:

> There are some more troubles. This time they are with effect masks.
>>>
>>> The problem is: we simply CAN'T add any selection with a selection
>>> tool or paint something with a freehand tool on ANY MASK.
>>>
>>
>> Can you explain what you expect? When I select something on a transparency
>> mask e.g with retangular selection I can paint inside the selection with the
>> normal brush.
>> I don't see the problem.
>>
>
> Ah.. i forgot about transparency masks.. i have to look into their
> implementation.. they should have this code...
>
> I speak about filter masks. As you said before, selection, made on filter
> mask should control the area, where the filter applies. The same thing with
> painting onto filter mask - it should paint on selection() of the mask. I
> can't understand how this should work as most of the tools are supposed to
> work with layers, not masks. But i have to take a look into Transparency
> mask code..
>

Painting on filter masks works, you can test that by replacing the code in
KisFilterMask::apply with the same code from the transparency mask. After
doing that the filter mask works as a transparency mask (suprisingly without
the crash from the transparency mask), so I supect that something goes wrong
when the filter is applied.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kimageshop/attachments/20090905/12790a28/attachment.htm 


More information about the kimageshop mailing list