Convert .heic images to .jpg
Project description
heic-to-jpg 📸
CLI tool for converting HEIC images to jpg.
Essentially, this is just a thin convenience wrapper around imagemagick's magick 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.
development
pip install -e .to install the package in editable modepip install -r requirements-dev.txtto install development dependenciespytestto run tests
build release
rm -rf dist/to clean uppython setup.py sdist bdist_wheelto build the packagetwine upload dist/*to upload to pypi
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file heic_to_jpg-0.2.0.tar.gz.
File metadata
- Download URL: heic_to_jpg-0.2.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1bb1805310abc1b3f23cb5d36ee70e1245c0b7af96354a4d89e81201c593159
|
|
| MD5 |
59239b3da4f92195265b5263ae96ffb7
|
|
| BLAKE2b-256 |
43af3ab7a720595a1a1ec6863e6459747a3f559f355045f45b34372bb4d16ca1
|
File details
Details for the file heic_to_jpg-0.2.0-py2.py3-none-any.whl.
File metadata
- Download URL: heic_to_jpg-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8029e95e6cb242d1ad56e366ea2d198dbad4028a42351dcb9c3af832466ebdac
|
|
| MD5 |
59535a809bc60ed32da0dd450f719e86
|
|
| BLAKE2b-256 |
06e6d7d159e21997f7cfa83cf55a98a31ee67e7db48be2b64f600fa9edf08200
|