W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > May 2011

[Bug 12586] Suggest using Typed Array for ImageData pixels. Add a new 'buffer' attribute that references ArrayBuffer of the pixel data. Convert 'data' (CanvasPixelArray) to Uint8Array view of 'buffer'.

From: <bugzilla@jessica.w3.org>
Date: Tue, 03 May 2011 02:28:42 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QH5Lu-0004Tv-I7@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12586

Boris Zbarsky <bzbarsky@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bzbarsky@mit.edu

--- Comment #2 from Boris Zbarsky <bzbarsky@mit.edu> 2011-05-03 02:28:41 UTC ---
Note that Uint8Array doesn't have the same overflow/rounding semantics that
CanvasPixelArray does.

In Gecko, CanvasPixelArray is implemented as a new typed array type called
Uint8ClampedArray.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 3 May 2011 02:28:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:09 UTC