W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > December 2010

[Bug 11566] New: Image should have getContext(...) just like canvas

From: <bugzilla@jessica.w3.org>
Date: Fri, 17 Dec 2010 05:14:54 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-11566-2486@http.www.w3.org/Bugs/Public/>

           Summary: Image should have getContext(...) just like canvas
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: warcraftthreeft@sbcglobal.net
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,

This would remove the problem of having to generate new canvases and render an
image to them to do trivial operations like getting the ImageData.

var image = new Image();
var imageData;
image.onload = function()
    imageData = image.getContext("2d").getImageData(0, 0, image.width,
image.src = "example.png";


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, 17 December 2010 05:14:56 UTC

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