Package Exports
- canvas-to-blob
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (canvas-to-blob) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
canvas-to-blob
A polyfill for the canvas.toBlob method, for the browser.
Installation
npm install canvas-to-blobMethods
var toBlob = require('canvas-to-blob');toBlob(uri) - Transforms the Base64-encoded uri into a Blob.
toBlob.init() - Attaches the toBlob function to the Canvas prototype.
toBlob.supported - Returns true if this method is supported by the browser, otherwise false.