Home

Awesome

heic-cli

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

travis npm-downloads npm-version

Usage

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