Skip to main content

Convert .heic images to .jpg

Project description

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

heic_to_jpg-0.1.9.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

heic_to_jpg-0.1.9-py2.py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page