W3C home > Mailing lists > Public > www-svg@w3.org > July 2009

Re: SVG Masking and different implementations

From: Dirk Schulze <vbs85@gmx.de>
Date: Thu, 30 Jul 2009 14:04:51 +0200
To: robert@ocallahan.org
Cc: www-svg@w3.org
Message-Id: <1248955491.27863.4.camel@dirk-laptop>
I finally found the reason for the difference: it's the color space.
Some rendering engines use sRGB for the calculation of luminance instead
of linearRGB.
The Spec explicitly want linearRGB for the calculation. That means
Firefox and Batik are do the right thing with using linearRGB.

Thanks for all replys,


Am Montag, den 16.02.2009, 20:54 +1300 schrieb Robert O'Callahan:
> On Mon, Feb 16, 2009 at 8:32 PM, Dirk Schulze <vbs85@gmx.de> wrote:
>         Compare the "gradient"-length of the first and the second
>         image. The
>         first drawing is of opera 10, the second of FF 3:
>         http://www1.inf.tu-dresden.de/~s7468461/opera.png
>         http://www1.inf.tu-dresden.de/~s7468461/ff.png
>         There is only a minimal difference, but the gradient of
>         Firefox is
>         shorter (or more transparent) than the gradient of Opera.
> What platform? On Mac, FF trunk (and 3.0), Safari 3.2 and Opera 9.51
> all look alike and the gradient is visible nearly to the right edge,
> similar to what you show for Opera, although smoother at the ends.
> Rob
> -- 
> "He was pierced for our transgressions, he was crushed for our
> iniquities; the punishment that brought us peace was upon him, and by
> his wounds we are healed. We all, like sheep, have gone astray, each
> of us has turned to his own way; and the LORD has laid on him the
> iniquity of us all." [Isaiah 53:5-6]
Received on Thursday, 30 July 2009 12:05:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:23 UTC