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

[whatwg] getImageData/putImageData comments

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 10 Jul 2009 17:59:41 -0700
Message-ID: <4A57E3FD.7040303@mit.edu>
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.

-Boris
Received on Friday, 10 July 2009 17:59:41 UTC

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