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

Enabling pixel grabbing in SVG just like Canvas

From: Jon Ferraiolo <jferrai@us.ibm.com>
Date: Sat, 3 Oct 2009 18:17:51 -0700
To: www-svg@w3.org
Message-ID: <OFD44165F3.7CC6EADF-ON88257645.00069E61-88257645.000720C0@us.ibm.com>

At SVG Open, there was discussion today about adding Canvas's pixel
grabbing APIs to SVG, with claims that SVG implementations don't
necessarily retain a rendering surface. It now occurs to me that there is a
CSS property ('enable-background') in the SVG 1.1 spec just for this

* http://www.w3.org/TR/SVG/filters.html#AccessingBackgroundImage

Pixel grabbing APIs in SVG could require that 'enable-background' is placed
on the outermost <svg> element as a hint to the implementation that it
needs to retrievable retain pixel values for image.

Note that implementations pretty much have to implement saved rendering
surfaces to do group opacity even if they haven't implemented filter
effects yet.

Jon Ferraiolo
Received on Sunday, 4 October 2009 01:18:34 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:18 UTC