read-image-data

1.0.0 • Public • Published

read-image-data

Read ImageData from a Blob.

import readImageData from 'read-image-data';
 
document.getElementById('file-input').addEventListener('change', (e) => {
  readImageData(e.target.files[0]).then((imageData) => {
    console.log(imageData);
  });
});

Reference

Readme

Keywords

Package Sidebar

Install

npm i read-image-data

Weekly Downloads

5

Version

1.0.0

License

MIT

Last publish

Collaborators

  • nawatts