W3C home > Mailing lists > Public > public-svg-wg@w3.org > July to September 2009

color-interpolation

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 6 Aug 2009 14:50:08 +1000
To: public-svg-wg@w3.org
Message-ID: <20090806045007.GA20994@wok.mcc.id.au>
Consider the following document:

  <svg xmlns="http://www.w3.org/2000/svg">
    <rect width='200' height='100'/>
    <g fill='white' fill-opacity='0.5'>
      <rect width='100' height='100'/>
      <rect x='100' width='100' height='100' color-interpolation='linearRGB'/>
    </g>
  </svg>

Should the right half of the rectangular region be a different colour
from the left half?  IIUC, the use of ‘color-interpolation’ should
affect how the right white <rect> is composited into the black <rect> in
the background.

Batik, Opera and Firefox all show a uniform #808080 colour in the
rectangular region, which makes me wonder if I’ve used the
‘color-interpolation’ correctly.

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Thursday, 6 August 2009 04:50:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 6 August 2009 04:50:55 GMT