{"json_modified": "2016-05-06T01:31:29.395864", "uuid": "35d13486-f5cb-4fd4-a450-577e66aec68c", "title": "HTMLCanvasElement.toBlob()", "url": "/en-US/docs/Web/API/HTMLCanvasElement/toBlob", "tags": ["Canvas", "API", "HTMLCanvasElement", "Reference", "canvas", "Method"], "translations": [{"uuid": "68d5c6a0-7c3a-41b4-9883-7b9a45f5a4b6", "title": "HTMLCanvasElement.toBlob()", "url": "/es/docs/Web/API/HTMLCanvasElement/toBlob", "tags": [], "summary": "EL metodo\u00a0HTMLCanvasElement.toBlob() crea un objeto Blob que representa la imagen contenida en el canvas; este archivo puede ser cacheado en el disco oo guardado en la memoria a desicion del\u00a0\u00a0user agent. Si la propiedad\u00a0type\u00a0no se especifica el tipo de la imagen ser\u00e1\u00a0image/png. La imagen creada tiene una resoluci\u00f3n de 96dpi.
\n El tercer argumento es usado con las imagenes \u00a0image/jpeg\u00a0para especificar la calidad de salida.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2015-11-01T12:17:54", "review_tags": []}, {"uuid": "559c47bd-a6f0-4858-9a86-3be64e977d76", "title": "HTMLCanvasElement.toBlob()", "url": "/ja/docs/Web/API/HTMLCanvasElement/toBlob", "tags": ["Canvas", "API", "HTMLCanvasElement", "Reference", "canvas", "Api", "Method"], "summary": "HTMLCanvasElement.toBlob() \u30e1\u30bd\u30c3\u30c9\u306f\u3001 \u30ad\u30e3\u30f3\u30d0\u30b9\u306b\u542b\u307e\u308c\u308b\u753b\u50cf\u3092\u8868\u3059 Blob \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u751f\u6210\u3057\u307e\u3059\uff1b\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u88c1\u91cf\u306b\u3088\u3063\u3066\u3001\u30c7\u30a3\u30b9\u30af\u306b\u30ad\u30e3\u30c3\u30b7\u30e5\u3055\u308c\u308b\u304b\u3001\u30e1\u30e2\u30ea\u306b\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002type \u304c\u6307\u5b9a\u3055\u308c\u3066\u306a\u3044\u5834\u5408\u3001\u753b\u50cf\u306e type \u306f\u3001 image/png \u3067\u3059\u3002\u751f\u6210\u3055\u308c\u305f\u753b\u50cf\u306e\u89e3\u50cf\u5ea6\u306f\u300196dpi \u3067\u3059\u3002
image/jpeg \u753b\u50cf\u3068\u4e00\u7dd2\u306b\u4f7f\u7528\u3055\u308c\u308b 3 \u3064\u76ee\u306e\u5f15\u6570\u306f\u3001\u51fa\u529b\u306e\u54c1\u8cea\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-05-06T01:31:18", "review_tags": ["editorial"]}, {"uuid": "7b83755c-844d-461b-bc73-c8ee20ef7915", "title": "HTMLCanvasElement.toBlob()", "url": "/zh-CN/docs/Web/API/HTMLCanvasElement/toBlob", "tags": [], "summary": "HTMLCanvasElement.toBlob()\u00a0\u65b9\u6cd5\u521b\u9020Blob\u5bf9\u8c61\uff0c\u7528\u4ee5\u5c55\u793acanvas\u4e0a\u7684\u56fe\u7247\uff1b\u8fd9\u4e2a\u56fe\u7247\u6587\u4ef6\u53ef\u4ee5\u88ab\u7f13\u5b58\u6216\u4fdd\u5b58\u5230\u672c\u5730\uff0c\u7531\u7528\u6237\u4ee3\u7406\u7aef\u81ea\u884c\u51b3\u5b9a\u3002\u5982\u4e0d\u7279\u522b\u6307\u660e\uff0c\u56fe\u7247\u7684\u7c7b\u578b\u9ed8\u8ba4\u4e3a image/png\uff0c\u5206\u8fa8\u7387\u4e3a96dpi\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-12-15T23:21:57", "review_tags": []}], "modified": "2016-04-12T14:47:20", "label": "HTMLCanvasElement.toBlob()", "localization_tags": [], "locale": "en-US", "id": 128353, "last_edit": "2016-04-12T14:47:16", "summary": "The HTMLCanvasElement.toBlob() method creates a Blob object representing the image contained in the canvas; this file may be cached on the disk or stored in memory at the discretion of the user agent. If type is not specified, the image type is image/png. The created image is in a resolution of 96dpi.
\n The third argument is used with image/jpeg images to specify the quality of the output.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "Examples", "title": "Examples"}, {"id": "Getting_a_file_representing_the_canvas", "title": "Getting a file representing the canvas"}, {"id": "A_way_to_convert_a_canvas_to_an_ico_(Mozilla_only)", "title": "A way to convert a canvas to an ico (Mozilla only)"}, {"id": "Save_toBlob_to_disk_with_OS.File_(chromeadd-on_context_only)", "title": "Save toBlob to disk with OS.File (chrome/add-on context only)"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "Polyfill", "title": "Polyfill"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/HTMLCanvasElement/toBlob", "review_tags": []}