bare-webp
v1.3.0
Published
WebP support for Bare
Readme
bare-webp
WebP support for Bare.
npm i bare-webpUsage
const webp = require('bare-webp')
const image = require('./my-image.webp', { with: { type: 'binary' } })
const decoded = webp.decode(image)
// {
// width: 200,
// height: 400,
// data: <Buffer>
// }
const encoded = webp.encode(decoded)
// <Buffer>License
Apache-2.0
