canvas-toBlob

A canvas.toBlob() implementation

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
canvas-toBlob
1.0.07 years ago7 years agoMinified + gzip package size for canvas-toBlob in KB

Readme

canvas-toBlob.js
A canvas.toBlob() implementation

Introduce

canvas-toBlob.js implements the standard HTML5 canvas.toBlob()1 and canvas.toBlobHD() methods in browsers that do not natively support it. canvas-toBlob.js requires Blob support to function, which is not present in all browsers. Blob.js2 is a cross-browser Blob implementation that solves this.

Supported browsers

canvas-toBlob.js has the same browser support as FileSaver.js3.
Tracking image
1: http://www.w3.org/TR/html5/the-canvas-element.html 2: https://github.com/eligrey/Blob.js 3: https://github.com/eligrey/FileSaver.js#supported-browsers

License

This project is licensed under MIT.