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

Ian Hickson ian at hixie.ch
Mon Jul 6 15:33:07 PDT 2009


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 
putImageData().

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list