Parse file to ImageData in cross-platform
npm install pixelPixel
---
> Get ImageData in cross-platform
Installation
---
bash
$ yarn add pixel
or
$ npm install pixel --save
`for Browser
`html
`API
---
pixel(
file) -> Promisereturn
images is Array contains one or more ImageData.
> Return the object instead of ImageData at Node.jsfile is...
* string: url (e.g. http[s]://...)
* string: datauri (e.g. data:image/...)
* string: path (e.g. /path/to/file`)Related projects
---
* pixel-util
* pixel-gif
* pixel-png
* pixel-jpg
* pixel-bmp
* pixel-webp
* __pixel__
* pixel-to-ansi
* pixel-to-svg
License
---
[MIT][License]
[License]: http://59naga.mit-license.org/