An open API service indexing awesome lists of open source software.

https://github.com/catdad-experiments/heic-cli

👨‍💻 convert heic/heif images to jpeg or png from the command line
https://github.com/catdad-experiments/heic-cli

command-line-tool convert heic heif image image-converter jpg png

Last synced: about 1 month ago
JSON representation

👨‍💻 convert heic/heif images to jpeg or png from the command line

Awesome Lists containing this project

README

          

# heic-cli

> Convert HEIC/HEIF images to JPEG and PNG on the command line

[![travis][travis.svg]][travis.link]
[![npm-downloads][npm-downloads.svg]][npm.link]
[![npm-version][npm-version.svg]][npm.link]

[travis.svg]: https://travis-ci.com/catdad-experiments/heic-cli.svg?branch=master
[travis.link]: https://travis-ci.com/catdad-experiments/heic-cli
[npm-downloads.svg]: https://img.shields.io/npm/dm/heic-cli.svg
[npm.link]: https://www.npmjs.com/package/heic-cli
[npm-version.svg]: https://img.shields.io/npm/v/heic-cli.svg

## Usage

```bash
npx heic-cli < input.heic > result.jpg
```

Full options (also printed with `npx heic-cli --help`)

```
Commands:
heic-cli convert HEIC image to JPEG or PNG [default]
heic-cli info see minimum info about each image in the file

Options:
--version Show version number [boolean]
--help Show help [boolean]
--format, -f The output format [choices: "jpg", "png"] [default: "jpg"]
--input, -i The input file to convert, - for stdin [default: "-"]
--output, -o The output file to create, - for stdout [default: "-"]
--images, -m Which images to decode, -1 for all [array] [default: [0]]
```

## Related

* [heic-app](https://github.com/catdad-experiments/heic-app) - web application to convert heic/heif images to jpeg using a GUI
* [heic-convert](https://github.com/catdad-experiments/heic-convert) - convert heic/heif images to jpeg and png
* [heic-decode](https://github.com/catdad-experiments/heic-decode) - decode heic/heif images to raw image data
* [libheif-js](https://github.com/catdad-experiments/libheif-js) - libheif as a pure-javascript npm module