Saving canvas data to image file This is a small library that lets you easily save a WHATWG canvas element as an imagefile. Canvasãã¼ã¿ãPNG/JPEGçã®ï¼æç»åã«å¤æããJSãCanvas2Imageãã Flashã使ããã«ããã©ã¦ã¶ä¸ã§ãçµµãããã¦ãç»åã«å¤æã§ãã¾ãã 次ã®ããã«ãCanvasã«å¯¾ãã¦ï¼è¡ã§å¤æã§ãã¾ããã var oCanvas = document.getElementById("thecanvas"); Canvas2Image.saveAsPNG(oCanvas); Canvasã®ä½¿ããªããã©ã¦ã¶ã§ã¯å½ç¶ã使ããã¨ã¯åºæ¥ã¾ããããæç»ãããã®ããã®ã¾ã¾ç»åã«ãããã¨ããã®ã¯ä½¿ãã©ãããããããã§ãã
{{#tags}}- {{label}}
{{/tags}}