[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: Effect masks vs. selections and "embedded" transparency masks
From:       Sven Langkamp <sven.langkamp () gmail ! com>
Date:       2009-09-05 14:31:44
Message-ID: 478b087a0909050731j2395ee65t778edbcea145f32e () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Sat, Sep 5, 2009 at 5:12 AM, Dmitry Kazakov <dimula73@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.

[Attachment #5 (text/html)]

<div class="gmail_quote">On Sat, Sep 5, 2009 at 5:12 AM, Dmitry Kazakov <span \
dir="ltr">&lt;<a href="mailto:dimula73@gmail.com">dimula73@gmail.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, \
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div class="gmail_quote"><div \
class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div \
class="gmail_quote"><div><blockquote class="gmail_quote" style="border-left: 1px \
solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

There are some more troubles. This time they are with effect masks.<br><br>The \
problem is: we simply CAN&#39;T add any selection with a selection<br>tool or paint \
something with a freehand tool on ANY MASK.<br> </blockquote></div><div><br>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.<br>I \
don&#39;t see the problem.</div>

</div></blockquote></div><div><br>Ah.. i forgot about transparency masks.. i have to \
look into their implementation.. they should have this code...<br><br>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&#39;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..<br> </div></div></blockquote><div><br>Painting \
on filter masks works, you can test that by replacing the code i<style \
type="text/css"></style>n 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. </div> </div><br>



_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic