Have ideas to improve npm?Join in the discussion! »

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

Install

npm i read-image-data

DownloadsWeekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • avatar