0.0.1 • Published 11 months ago

libheic v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

libheic

NAPI bindings for a HEIC image format decoder and encoder, integrating with ImageIO on macOS.

!NOTE The library is still in development and not ready for production. The API may change.

Installation

npm install libheic

API Usage

const heic = require("libheic");

const input = fs.readFileSync("image.png");
const output = heic.decode(input);
fs.writeFileSync("image.heic", Buffer.from(output));

CLI Usage

npx libheic image.png
0.0.1

11 months ago

0.0.0

11 months ago