This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24177 - Canvas Pixel ArrayBuffer should return RGBA for big-endian and ABGR for little-endian machines
Summary: Canvas Pixel ArrayBuffer should return RGBA for big-endian and ABGR for littl...
Status: RESOLVED INVALID
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML Canvas 2D Context (show other bugs)
Version: unspecified
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: Jay Munro
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on: 24175
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-29 23:50 UTC by Arthur Y
Modified: 2013-12-31 04:44 UTC (History)
6 users (show)

See Also:


Attachments

Description Arthur Y 2013-12-29 23:50:11 UTC
+++ This bug was initially created as a clone of Bug #24175 +++

Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html
Multipage: http://www.whatwg.org/C#pixel-manipulation
Complete: http://www.whatwg.org/c#pixel-manipulation
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
Canvas Pixel ArrayBuffer should return RGBA for big-endian and ABGR for
little-endian  machines

Posted from: 66.229.94.210
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
Comment 1 rcabanie 2013-12-31 04:43:07 UTC
Platform specific details should not leak to a high-level API like Canvas 2D.
In addition, this API is widely deployed on current browser and can't change.

There have been requests similar to this use case. Justin Novosad from Google summarized them here: http://wiki.whatwg.org/wiki/ImageBitmap_Options