1.0.0 • Published 11 months ago

heic-jpg-exif v1.0.0

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

heic-jpg-exif

ci npm-downloads npm-version

Conversion from HEIC to JPG while retaining essential EXIF metadata

Install

npm install heic-jpg-exif

Usage (NodeJS)

const convert = require('heic-jpg-exif');

Convert an HEIC image file to a JPEG file at maximum quality (1)

await convert('input.HEIC', 'output.jpg', 1);

Convert an HEIC buffer to a JPEG buffer

const inBuffer = fs.readFileSync('input.HEIC');
const outBuffer = await convert(inBuffer);

Background

The HEIC image is first converted to a JPG with heic-convert and then complemented with the EXIF metadata of the source image using exifr and piexif-ts.

See also

1.0.0

11 months ago

0.3.5

1 year ago

0.3.4

1 year ago

0.3.3

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago