@sensio/op-sn-image-raw-pixels
v0.4.8-alpha.4
Published
Blockchain Version **bafy2bzacecjrerw6cnuyj3ta7ntsvleq43vxgt4otgdvf2wjjpdg5almrzd4y**
Downloads
4
Readme
@sensio/op-sn-image-raw-pixels
Blockchain Version bafy2bzacecjrerw6cnuyj3ta7ntsvleq43vxgt4otgdvf2wjjpdg5almrzd4y
Description
Extract Only Raw pixels from the image
Links and Repo
- npm: https://www.npmjs.com/package/@sensio/op-sn-image-raw-pixels
- repo: repo folder
- support: Discord server #public-support channel
Install
# install latest version
yarn add @sensio/op-sn-image-raw-pixels
# or specific version
yarn add @sensio/[email protected]
Usage
import snImageRawPixels from '@sensio/op-sn-image-raw-pixels'
const dataAsUintArray = new U8intArray(7)
const dataAsBuffer = Buffer.from(7)
await snImageRawPixels([{ data: dataAsUintArray, decode: () => dataAsBuffer }])
Contributing
PRs accepted.
License
Longer version is in LICENSE file
Apache-2.0 © Sensio Group