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

List:       kde-kimageshop
Subject:    Re: Problems with "embedded" transparency masks onto adj. layers
From:       Dmitry Kazakov <dimula73 () gmail ! com>
Date:       2009-09-08 19:52:18
Message-ID: ae32c1ef0909081252k4ac80836k58effc70a980cdf1 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


>
>
> It used to work just fine in 1.6, where we used an alpha8 colorspace and
>> COMPOSITE_OVER to paint on selections, I'm not sure I understand why this
>> would not work in 2.x. I definitely don't believe we need to double the
>> memory
>> requirements of selections to be able to paint on them: I think using a
>> different composite op should be enough.
>>
>
> How are you intending to describe the shape of the brush without a separate
> alpha channel?
>

Well, i don't mean we "must" use a separate alpha channel inside(!)
KisSelection. This channel must be present in paintOp's dab. The problem is
when we use different CS'es for paint device and paintOp's dab - compositing
becomes quite tricky.

-- 
Dmitry Kazakov

[Attachment #5 (text/html)]

<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px \
solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div \
class="im"><br><div class="gmail_quote"><blockquote class="gmail_quote" \
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; \
padding-left: 1ex;"> It used to work just fine in 1.6, where we used an alpha8 \
colorspace and<br>

COMPOSITE_OVER to paint on selections, I&#39;m not sure I understand why this<br>
would not work in 2.x. I definitely don&#39;t believe we need to double the \
memory<br> requirements of selections to be able to paint on them: I think using \
a<br> different composite op should be enough.<font color="#888888"><br>
</font></blockquote></div><br></div>How are you intending to describe the shape of \
the brush without a separate alpha channel?<br></blockquote><div><br>Well, i \
don&#39;t mean we &quot;must&quot; use a separate alpha channel inside(!) \
KisSelection. This channel must be present in paintOp&#39;s dab. The problem is when \
we use different CS&#39;es for paint device and paintOp&#39;s dab - compositing \
becomes quite tricky.<br> <br> </div></div>-- <br>Dmitry Kazakov<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