Skip to content

holepunchto/bare-heif

Repository files navigation

bare-heif

HEIF support for Bare.

npm i bare-heif

Usage

const heif = require('bare-heif')

const image = require('./my-image.heic', { with: { type: 'binary' } })

heif.decode(image)
// {
//   width: 200,
//   height: 400,
//   data: <Buffer>
// }

License

Apache-2.0