luxojr
v1.0.1
Published
Get pixels from image or buffer
Downloads
1
Readme
luxojr
Get pixels from image or buffer
Installation
npm i --save luxojr
Usage
const parse = require('luxojr')
const fs = require('fs')
const path = require('path')
setImmediate(async () => {
try {
const file = path.join(__dirname, 'test.jpg')
const result = await parse(file)
console.log(result)
} catch (error) {
console.log("ERROR", error)
}
})