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
Metadata
Release files for heic-to-jpg 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| heic_to_jpg-0.2.0.tar.gz | 4.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| heic_to_jpg-0.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / heic_to_jpg-0.2.0.tar.gz
| Download URL | heic_to_jpg-0.2.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1bb1805310abc1b3f23cb5d36ee70e1245c0b7af96354a4d89e81201c593159
|
|
BLAKE2b-256 checksum How to use checksums |
43af3ab7a720595a1a1ec6863e6459747a3f559f355045f45b34372bb4d16ca1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.1
|
Release files / heic_to_jpg-0.2.0-py2.py3-none-any.whl
| Download URL | heic_to_jpg-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
8029e95e6cb242d1ad56e366ea2d198dbad4028a42351dcb9c3af832466ebdac
|
|
BLAKE2b-256 checksum How to use checksums |
06e6d7d159e21997f7cfa83cf55a98a31ee67e7db48be2b64f600fa9edf08200
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.1
|
Security for heic-to-jpg 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.