<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>24301</bug_id>
          
          <creation_ts>2014-01-15 15:55:29 +0000</creation_ts>
          <short_desc>Provide ImageData constructor.</short_desc>
          <delta_ts>2014-03-23 01:55:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#imagedata</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>cabanier</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>VYV03354</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>98506</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-01-15 15:55:29 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#imagedata
Complete: http://www.whatwg.org/c#imagedata
Referrer: 

Comment:
Provide ImageData constructor.

Posted from: 207.218.72.65
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.18 Safari/537.36</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98507</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-01-15 15:56:45 +0000</bug_when>
    <thetext>http://stackoverflow.com/questions/13626465/how-to-create-a-new-imagedata-object-independently should not be that hard. The obvious way to do things should work.

I think making it accept a dictionary as single argument where you can specify the various features makes the most sense.

W3C HTML has this apparently and Gecko is planning on adding something: https://bugzilla.mozilla.org/show_bug.cgi?id=959958</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98525</commentid>
    <comment_count>2</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-01-15 22:07:02 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8397.
Check-in comment: Add a couple of ImageData() constructors, and (in order to make that feasible) drop all the HD stuff on &lt;canvas&gt;.
http://html5.org/tools/web-apps-tracker?from=8396&amp;to=8397</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102796</commentid>
    <comment_count>3</comment_count>
    <who name="rcabanie">cabanier</who>
    <bug_when>2014-03-23 01:55:27 +0000</bug_when>
    <thetext>(In reply to contributor from comment #2)
&gt; Checked in as WHATWG revision r8397.
&gt; Check-in comment: Add a couple of ImageData() constructors, and (in order to
&gt; make that feasible) drop all the HD stuff on &lt;canvas&gt;.
&gt; http://html5.org/tools/web-apps-tracker?from=8396&amp;to=8397

Wasn&apos;t the HD stuff removed a while ago? I wonder how it snuck back into the spec.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>