- From: Chris Lilley <chris@w3.org>
- Date: Wed, 16 Apr 2014 14:27:38 +0200
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- CC: Tavmjong Bah <tav.w3c@gmail.com>, "Smailus, Thomas O" <Thomas.O.Smailus@boeing.com>, Paul LeBeau <paul.lebeau@gmail.com>, "www-svg@w3.org" <www-svg@w3.org>
Hello Tab, Tuesday, April 15, 2014, 8:54:31 PM, you wrote: > On Tue, Apr 15, 2014 at 9:54 AM, Tavmjong Bah <tav.w3c@gmail.com> wrote: >> As Thomas eludes to, scaling should properly done in a linear color >> space. Yes. >> To see why, scale the following SVG up and down in your browser >> of choice: >> >> http://tavmjong.free.fr/SVG/SCALING/scaling_test.svg >> >> If your display is calibrated to srgb, the top two squares should be the >> same color as the bottom right square. As you zoom in, the squares will >> become darker due to the averaging being done in the srgb color space >> (and not by your eye!). But this is not as important as at least showing >> the lines when down scaling and being able to maintain the sharp >> boundaries while up scaling. > Is this something that needs to be specified, or is it just a > qualty-of-implementation issue? It does need to be specified (and already is, though apparently it needs to be made clearer). interpolation colourspace lets you choose between performing calculations in faster but inaccurate sRGB or in linear (not gamma companded) sRGB. Not specifying it makes it untestable and permits implementations to produce conformant, but visually very distinct, renderings of the same content. -- Best regards, Chris mailto:chris@w3.org
Received on Wednesday, 16 April 2014 12:27:42 UTC