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

[whatwg] getImageData/putImageData comments

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 27 Jul 2009 23:17:50 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0907272316401.23663@hixie.dreamhostps.com>
On Fri, 10 Jul 2009, Boris Zbarsky wrote:
> Ian Hickson wrote:
> > I don't see why the imagedata API isn't suitable for that. It's not 
> > like if you're painting that on the canvas you'll want to leave the 
> > last row or column unaffected. You'll want to clear it or some such, 
> > in practice.
> 
> I believe in this case the page actually wants to create a canvas for 
> each intermediate state, so needs to create canvases sized 1 imagedata 
> pixel smaller than a given canvas....  Just painting to a canvas of the 
> old size isn't right, since it'll then take too much space in the 
> layout.

That seems like an unnecessarily complicated way of doing things.

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

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