Skip to content

CLI tool for converting HEIC images to jpg.

License

Notifications You must be signed in to change notification settings

philgerardsoto/heic-to-jpg

 
 

Repository files navigation

heic-to-jpg 📸

CLI tool for converting HEIC images to jpg.

Essentially, this is just a thin wrapper around imagemagick's convert cli.

Motivation: When transfering images from an iPhone to a Mac via airdrop, they are being transfered as HEIC. Oftentime though, another format (such as jpg) is required to further make use of those images.

👉 ⚠️ Please note that imagemagick is a prerequisite for this to work.

👉 ⚠️ Please note that this has been tested on macOS only. There might be issues on other operating systems (Linux, Windows).

installation

pip install heic-to-jpg

(pip3 install heic-to-jpg for some; an up-to-date-ish python3 is recommended.)

usage

heic-to-jpg -s ~/path/to/source [--keep] [--debug None|Trace|All]

or

heic2jpg -s ~/path/to/source [--keep] [--debug None|Trace|All]

~/path/to/source can both be a directory or a single .HEIC file. Without the --keep flag, the original file is deleted after conversion.

About

CLI tool for converting HEIC images to jpg.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 68.1%
  • Makefile 31.9%