Re: [whatwg] new ImageData(w, h) proposal

2007-05-11 Thread Ian Hickson
On Mon, 5 Mar 2007, Mathieu HENRI wrote: > > The ImageData [1] object used in Canvas should be instantiable like > HTMLImageElement are using the Image constructor [2,3]. You can already do that: var imagedata = { height: 1, width: 1, data: [0,0,0,0] }; > * Specify the Im

[whatwg] new ImageData(w, h) proposal

2007-03-05 Thread Mathieu HENRI
Hi, The ImageData [1] object used in Canvas should be instantiable like HTMLImageElement are using the Image constructor [2,3]. I suggest to: * Mention the ImageData constructor in [1]: Note: An instance of ImageData can be obtained using the ImageData constructor. * Specify the ImageDa