[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'.

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12586

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian@hixie.ch,
                   |                            |kbr@google.com

--- Comment #3 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-07-29 01:30:21 UTC ---
It's not quite a typed array. For example, some of the TypedArray constructors
don't make much sense, since the canvas pixel array is based on the underlying
buffer and so the same dimensions can have different buffer sizes.

It might make sense to define some sort of relationship, though.

What's the implementation status of CanvasPixelArray in the various browsers,
in terms of their relationship to TypedArrays? Does anyone else have an
underlying ArrayBuffer like Gecko?

bz: Is the TypedArrayness of CanvasPixelArray in Gecko visible to JS in any
way?

-- 
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 Friday, 29 July 2011 01:30:23 UTC