<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Color interpolation for colors with alpha incorrect (gradients)"
href="https://bugs.webkit.org/show_bug.cgi?id=150940#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Color interpolation for colors with alpha incorrect (gradients)"
href="https://bugs.webkit.org/show_bug.cgi?id=150940">bug 150940</a>
from <span class="vcard"><a class="email" href="mailto:christian.schnorr@me.com" title="Christian Schnorr <christian.schnorr@me.com>"> <span class="fn">Christian Schnorr</span></a>
</span></b>
<pre><span class="quote">> > Mh, I'm a little confused now as I'm not quite familiar with this
> > terminology. Is interpolation in premultiplied RGBA what we are seeing now
> > or what would be the correct thing to do?
>
> That's what you're seeing now. Transparent red in premultiplied color just
> becomes transparent, so any time you interpolate from it you end up with
> grayish intermediate values.</span >
Sorry if this is really obvious and I am missing something, but that makes only little sense to me.
I am currently seeing this behavior in Safari:
[opaque black (0,0,0,1)] => [semitransparent dark red (128,0,0,0.5)] => [transparent red (255,0,0,0)] (all components interpolated linearly)
However, I think it should look like this: (and it does in Firefox)
[opaque black (0,0,0,1)] => [semitransparent black (0,0,0,0.5)] => [transparent black (0,0,0,0)] (color components weighted with alpha)
Your description ("so any time you interpolate from it you end up with grayish intermediate values") sounds like the latter is what you call interpolation in premultiplied RGBA, however you are also stating that what I am currently seeing is interpolation in premultiplied RGBA...
Could you please clear this up? Which of the two examples is interpolated in premultiplied RGBA? And how is the other method called?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>