[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

--- Comment #11 from Kenneth Russell <kbr@google.com> 2011-10-20 02:02:50 UTC ---
(In reply to comment #10)
> There's an open item on whether after clamping Uint8ClampedArray should round
> or truncate.

(Sorry for the delay, I didn't see this comment until now.)

After clamping, it should not matter; the values are guaranteed to be within
the range that Uint8ClampedArray can represent internally. Rounding and
truncation should produce the same results. Am I missing something?

-- 
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 Thursday, 20 October 2011 02:02:56 UTC