{"json_modified": "2016-03-28T08:39:18.576172", "uuid": "092f1e9f-6a7d-4fe0-b608-090157ba4367", "title": "CanvasRenderingContext2D.createImageData()", "url": "/en-US/docs/Web/API/CanvasRenderingContext2D/createImageData", "tags": ["Canvas", "Reference", "CanvasRenderingContext2D", "API", "Method"], "translations": [{"uuid": "fcba816a-17a1-4532-b665-49c78c186323", "title": "CanvasRenderingContext2D.createImageData()", "url": "/zh-CN/docs/Web/API/CanvasRenderingContext2D/createImageData", "tags": [], "summary": "CanvasRenderingContext2D
.createImageData()
\u662f Canvas 2D API \u521b\u5efa\u4e00\u4e2a \u65b0\u7684\u3001\u7a7a\u767d\u7684\u3001\u6307\u5b9a\u5927\u5c0f\u7684 ImageData
\u5bf9\u8c61\u3002 \u6240\u6709\u7684\u50cf\u7d20\u5728\u65b0\u5bf9\u8c61\u4e2d\u90fd\u662f\u900f\u660e\u7684\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-06-08T00:57:57", "review_tags": []}], "modified": "2016-02-02T03:41:09", "label": "CanvasRenderingContext2D.createImageData()", "localization_tags": [], "locale": "en-US", "id": 130665, "last_edit": "2015-07-16T10:00:45", "summary": "The CanvasRenderingContext2D
.createImageData()
method of the Canvas 2D API creates a new, blank ImageData
object with the specified dimensions. All of the pixels in the new object are transparent black.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "Errors_thrown", "title": "Errors thrown"}, {"id": "Examples", "title": "Examples"}, {"id": "Using_the_createImageData_method", "title": "Using the "}, {"id": "HTML", "title": "HTML"}, {"id": "JavaScript", "title": "JavaScript"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "Compatibility_notes", "title": "Compatibility notes"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/CanvasRenderingContext2D/createImageData", "review_tags": []}