[whatwg] getImageData/putImageData comments
Ian Hickson
ian at hixie.ch
Mon Jul 27 16:17:50 PDT 2009
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. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list