Convert those Pesky .HEIC Images to Something More Useful!
i-Device images often come in .heic image file format, but these don't translate well to other uses...
I had a bunch of downloaded .heic files but wanted to convert them to .png format so I wrote this converter!
Notes
- no suitable package was found to convert
.heic➡️.jpgon Windows. - panoramic or stretched images may not convert properly.
- skips already-converted files to prevent redundancy
Usage
currently working on a PYPI release...
- Install required packages
pip install pillow_heifpip install pillow(or use defaultPIL- legacy)- see requirements.txt
- Download the repo
.zip - Obtain the path to the python
main.pyprogram - Obtain the path to the
.heicimage folder - Use desired flags
Examples
-
Set the destination folder with
--dest -
Automatically delete converted files with
-del
Flags
- double-hyphen '
--' flags take arguments - single-hyphen '
-' flags are booleans
| Flag | Options | Description |
|---|---|---|
--to |
png |
sets the desired type to convert the .heic files to. |
--dest |
path/to/saveDest |
choose the save location for the converted files. |
-del |
none |
delete the original .heic file after successful conversions. |
if you have comments / suggestions / bug fixes, please make a github issue here
thanks for checking this project out :)
Metadata
Release files for heic-image-converter 1.0.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 | |
|---|---|---|---|
| heic_image_converter-1.0.0.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| heic_image_converter-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.7 kB
Release files / heic_image_converter-1.0.0.tar.gz
| Download URL | heic_image_converter-1.0.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d15067c7e929acd6c5b9b4060dc7c5b04da3e10c0e0017bca7ececbf1778d62
|
|
BLAKE2b-256 checksum How to use checksums |
a67dc14b41ca5388869c184245e01805feac68c210b6f223d6512f924deabf43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.5
|
Release files / heic_image_converter-1.0.0-py3-none-any.whl
| Download URL | heic_image_converter-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ae6600b99b89060bb88946c175bcd04c950887459f5c947c9dcb95cfc5997fb9
|
|
BLAKE2b-256 checksum How to use checksums |
616a84d1e3d6f705f56e1d0c7058ab693905b38173d48b809095938b67c0baab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.5
|