$ npm install bare-heif
HEIF support for Bare.
npm i bare-heif
const heif = require('bare-heif') const image = require('./my-image.heic', { with: { type: 'binary' } }) heif.decode(image) // { // width: 200, // height: 400, // data: <Buffer> // }
Apache-2.0