Re: Remove canvas createImageData(imagedata)

On Sun, 30 Aug 2009 23:44:15 +0200, Ian Hickson <ian@hixie.ch> wrote:

>> AFAICT it's just convenience for createImageData(imagedata.width,
>> imagedata.height), but more confusing.
>
> imagedata.width is not the CSS pixel width of the image data.

"When invoked with a single imagedata argument, it must return an  
ImageData object representing a rectangle with the same dimensions as the  
ImageData object passed as the argument."

It is not at all clear that "the same dimensions" are supposed to be  
different from imagedata.width and imagedata.height.

Also:

>> What's the use case for createImageData(imagedata)?

-- 
Simon Pieters
Opera Software

Received on Monday, 31 August 2009 05:33:39 UTC