W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

[whatwg] Adding SVG Filter-like functionality to Canvas 2D Context

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 6 Jul 2009 22:33:07 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0907062227190.1053@hixie.dreamhostps.com>
On Mon, 6 Jul 2009 hansschmucker at gmail.com wrote:
> Aside from drawWindow, we are currently unable to build a processing 
> chain that does include filters, other than applying a filter to the 
> result rendered by the canvas via foreignObject.

Doing filters in <canvas> is an interesting idea, but I think that it is 
probably too early to add it. We have dozens of feature requests for the 
next version of <canvas> already.

For what it's worth, you can do filters manually using getImageData() and 

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 6 July 2009 15:33:07 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:14 UTC