HTML5 provides Canvas to Data URL(mimetype) which is implemented in Opera, Firefox, and Safari 4 beta. There are a number of security restrictions. So we don't need an additional library.
Related Searches to Capture HTML Canvas as gif/jpg/png/pdf ? - javascript tutorial
html5 canvas download imagehtml5 canvas save image to fileconvert canvas to image javascriptjavascript save canvas image to serverhtml5 canvas save image to local filecanvas.todataurl is not a functioncanvas todataurl jpghtml5 canvas todataurldownload canvas as image jqueryhow to save canvas image using javascripthtml5 canvas save image to local filehow to download image from canvajavascript save canvas image to serverhtml2canvas download imagedownload canvas as pdfhtml download image from canvasjavascript tutorialjava scriptjavascriptjavascript arrayjavascript booklearn javascriptjavascript codejavascript editorjavascript classjavascripjavascript debuggerjavascript onlinejavascript examplesjavascript testjavascript documentjavascript sliderwhat is javascriptjavascript form validationjavascript validatorhtml javascriptjavascript alertjavascript eventsjavascript printjavascript domjavascript objectjavascript functionhref javascriptjavascript datejavascript promptjavascript onclickjavascript returnjavascript forjavascript numberjavascript confirmjavascript onchangejavascript regular expressionjavascript ifjavascript variablejavascript timerjavascript cookiejavascript getelementbyidjavascript innerhtmljavascript calljavascript regexpjavascript includesjavascript thisjavascript eval