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

List:       kde-kimageshop
Subject:    Re: Transparency, opacity, mask editing (Was: Re: A first part of the
From:       Sven Langkamp <sven.langkamp () gmail ! com>
Date:       2009-09-26 23:07:32
Message-ID: 478b087a0909261607g19a64190h3f3f4682d69f4767 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Sat, Sep 26, 2009 at 11:49 PM, Cyrille Berger <cberger@cberger.net>wrote:

> On Saturday 26 September 2009, Sven Langkamp wrote:
> > At the moment there is a fundamental difference between Gimp/Photoshop
> and
> > Krita in the way we see masks. In both cases we have and (8-bit) one
> >  channel paint device, so not a technical difference.
> > The actual difference is how these channel is interpreted: In
> >  Gimp/Photoshop is a grayscale representation while in Krita it's an
> alpha
> >  representation.
> >
> > The grayscale way is probably what most artists are used too, even if the
> > meaning of black and white is arbitary. The advantage is that it match
> good
> > with gradient and fill.
> >
> > The way Krita uses is closer to the physical representation either there
> is
> > something (color) or you can look through it. The problem that Dmitry
> > descibes is that the only way to "paint" transparency is the eraser tool
> in
> > Krita, which might be unusual for users form other editors. The bigger
> > problem is that you e.g. can't use a transparent color in the fill tool.
> >
> > I hope that's the correctly summarizes it.
> Ok now I get the problem.
>
> First, I will restate that I don't like the use of color for transparancy:
>
> > I can't remember which color is used usually (e.g. in a "well known
> > graphical editor"). I guess, when we paint with white paint the image
> > becomes opaque, when we paint with black paint - becomes transparent,
> with
> > gray color - becomes semi-transparent.
>
> That's exatly my problem with using color. From a technical point of view,
> it
> makes sense to have black==transparent == 0, white == opaque == 255. But I
> don't see how it can have sense for an user (and from my point of view,
> because photoshop does it isn't a valid answer, we are not aiming at
> cloning
> all its broken behaviour, if it's good lets use it, otherwise lets
> innovate).
>
> Maybe we should reinvestigate the whole transparancy with the color
> selector
> thing. We had that debate see [1] and [2] (around 18:38 in the log).
>
> In our previous discutions on the subject we considered that the choice
> between transparancy and opacity was wether to put the choice in the tool
> or
> in the color selector. But what if, actually, we need both. Because
> currently,
> the opacity is mainly used to control how much of the color is mixed. While
> the transparancy in the color selector could be used to paint with
> transparent
> color, either on a layer (either for filling or not), or on a selection.
>
> I am trying to think about the math for that, and also about wether it
> would
> make sense for an user, and we would probably have to rethink about the
> "opacity" label, to make it have more sense.
>
> [1]
>
> http://wiki.koffice.org/index.php?title=Colordialogs#Opacity_as_part_of_color
> [2] http://lists.kde.org/?l=koffice-devel&m=123060912408849&w=2
>

There is another potential flaw I see when you paint with transparency vs
grayscale (from user point of view):

If you have a completey white/opaque mask in the Gimp system and paint with
black color over it you will get black.

In the Krita system that would mean that you have an opaque mask and paint
with a transparent color over it you would get transparency.
Does that make sense? With the opacity label it would get even more weird:
What is e.g. a transparent color painted with 50% opacity?

[Attachment #5 (text/html)]

<div class="gmail_quote">On Sat, Sep 26, 2009 at 11:49 PM, Cyrille Berger <span \
dir="ltr">&lt;<a href="mailto:cberger@cberger.net">cberger@cberger.net</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;"> On Saturday 26 September 2009, \
Sven Langkamp wrote:<br> &gt; At the moment there is a fundamental difference between \
Gimp/Photoshop and<br> &gt; Krita in the way we see masks. In both cases we have and \
(8-bit) one<br> &gt;  channel paint device, so not a technical difference.<br>
&gt; The actual difference is how these channel is interpreted: In<br>
&gt;  Gimp/Photoshop is a grayscale representation while in Krita it&#39;s an \
alpha<br> &gt;  representation.<br>
&gt;<br>
&gt; The grayscale way is probably what most artists are used too, even if the<br>
&gt; meaning of black and white is arbitary. The advantage is that it match good<br>
&gt; with gradient and fill.<br>
&gt;<br>
&gt; The way Krita uses is closer to the physical representation either there is<br>
&gt; something (color) or you can look through it. The problem that Dmitry<br>
&gt; descibes is that the only way to &quot;paint&quot; transparency is the eraser \
tool in<br> &gt; Krita, which might be unusual for users form other editors. The \
bigger<br> &gt; problem is that you e.g. can&#39;t use a transparent color in the \
fill tool.<br> &gt;<br>
&gt; I hope that&#39;s the correctly summarizes it.<br>
Ok now I get the problem.<br>
<br>
First, I will restate that I don&#39;t like the use of color for transparancy:<br>
<br>
&gt; I can&#39;t remember which color is used usually (e.g. in a &quot;well known<br>
&gt; graphical editor&quot;). I guess, when we paint with white paint the image<br>
&gt; becomes opaque, when we paint with black paint - becomes transparent, with<br>
&gt; gray color - becomes semi-transparent.<br>
<br>
That&#39;s exatly my problem with using color. From a technical point of view, it<br>
makes sense to have black==transparent == 0, white == opaque == 255. But I<br>
don&#39;t see how it can have sense for an user (and from my point of view,<br>
because photoshop does it isn&#39;t a valid answer, we are not aiming at cloning<br>
all its broken behaviour, if it&#39;s good lets use it, otherwise lets innovate).<br>
<br>
Maybe we should reinvestigate the whole transparancy with the color selector<br>
thing. We had that debate see [1] and [2] (around 18:38 in the log).<br>
<br>
In our previous discutions on the subject we considered that the choice<br>
between transparancy and opacity was wether to put the choice in the tool or<br>
in the color selector. But what if, actually, we need both. Because currently,<br>
the opacity is mainly used to control how much of the color is mixed. While<br>
the transparancy in the color selector could be used to paint with transparent<br>
color, either on a layer (either for filling or not), or on a selection.<br>
<br>
I am trying to think about the math for that, and also about wether it would<br>
make sense for an user, and we would probably have to rethink about the<br>
&quot;opacity&quot; label, to make it have more sense.<br>
<br>
[1]<br>
<a href="http://wiki.koffice.org/index.php?title=Colordialogs#Opacity_as_part_of_color" \
target="_blank">http://wiki.koffice.org/index.php?title=Colordialogs#Opacity_as_part_of_color</a><br>
 [2] <a href="http://lists.kde.org/?l=koffice-devel&amp;m=123060912408849&amp;w=2" \
target="_blank">http://lists.kde.org/?l=koffice-devel&amp;m=123060912408849&amp;w=2</a><font \
color="#888888"><br></font></blockquote></div> <br>There is another potential flaw I \
see when you paint with transparency vs grayscale (from user point of \
view):<br><br>If you have a completey white/opaque mask in the Gimp system and paint \
with black color over it you will get black.<br> <br>In the Krita system that would \
mean that you have an opaque mask and paint with a transparent color over it you \
would get transparency.<br>Does that make sense? With the opacity label it would get \
even more weird: What is e.g. a transparent color painted with 50% opacity?<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