bare-bmp
v1.0.0
Published
Native BMP codec for Bare
Readme
bare-bmp
Native BMP codec for Bare.
npm install bare-bmpUsage
const bmp = require('bare-bmp')
// Decode BMP to RGBA
const { width, height, data } = bmp.decode(buffer)
// Encode RGBA to BMP
const buffer = bmp.encode({ width, height, data })License
Apache-2.0
