项目作者: catdad-experiments

项目描述 :
👨‍💻 convert heic/heif images to jpeg or png from the command line
高级语言: JavaScript
项目地址: git://github.com/catdad-experiments/heic-cli.git
创建时间: 2020-01-18T22:38:22Z
项目社区:https://github.com/catdad-experiments/heic-cli

开源协议:

下载


heic-cli

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

travis
npm-downloads
npm-version

Usage

  1. npx heic-cli < input.heic > result.jpg

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

  1. Commands:
  2. heic-cli convert HEIC image to JPEG or PNG [default]
  3. heic-cli info see minimum info about each image in the file
  4. Options:
  5. --version Show version number [boolean]
  6. --help Show help [boolean]
  7. --format, -f The output format [choices: "jpg", "png"] [default: "jpg"]
  8. --input, -i The input file to convert, - for stdin [default: "-"]
  9. --output, -o The output file to create, - for stdout [default: "-"]
  10. --images, -m Which images to decode, -1 for all [array] [default: [0]]
  • heic-app - web application to convert heic/heif images to jpeg using a GUI
  • heic-convert - convert heic/heif images to jpeg and png
  • heic-decode - decode heic/heif images to raw image data
  • libheif-js - libheif as a pure-javascript npm module