W3C home > Mailing lists > Public > public-html@w3.org > August 2009

Re: Remove canvas createImageData(imagedata)

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 30 Aug 2009 21:44:15 +0000 (UTC)
To: Simon Pieters <simonp@opera.com>
Cc: "public-html@w3.org" <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0908302143350.6775@hixie.dreamhostps.com>
On Fri, 21 Aug 2009, Simon Pieters wrote:
>
> What's the use case for createImageData(imagedata)?
> 
> 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.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 30 August 2009 21:42:27 UTC

This archive was generated by hypermail 2.3.1 : Friday, 10 October 2014 16:24:51 UTC