W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > October 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: Thu, 20 Oct 2011 02:02:53 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RGhy9-0001JB-BC@jessica.w3.org>

--- 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:02:06 UTC