{"mdn_url":"https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/getImageData","source_file":"api/CanvasRenderingContext2D.json","spec_url":"https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-getimagedata-dev","status":{"deprecated":false,"experimental":false,"standard_track":true},"support":{"chrome":{"version_added":"2"},"chrome_android":{"version_added":"18"},"edge":{"version_added":"12"},"firefox":{"notes":"Since Firefox 5, <code>getImageData</code> now correctly accepts rectangles that extend beyond the bounds of the canvas; pixels outside the canvas are returned as transparent black and now also returns at least one pixel's worth of image data if a rectangle smaller than one pixel is specified.","version_added":"2"},"firefox_android":{"notes":"Since Firefox 5, <code>getImageData</code> now correctly accepts rectangles that extend beyond the bounds of the canvas; pixels outside the canvas are returned as transparent black and now also returns at least one pixel's worth of image data if a rectangle smaller than one pixel is specified.","version_added":"4"},"ie":{"version_added":"9"},"oculus":{"version_added":"5.0"},"opera":{"version_added":"9.5"},"opera_android":{"version_added":"10.1"},"safari":{"version_added":"4"},"safari_ios":{"version_added":"3.2"},"samsunginternet_android":{"version_added":"1.0"},"webview_android":{"version_added":"≤37"}}}