Skip to main content

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 ➡️ .jpg on Windows.
  • panoramic or stretched images may not convert properly.
  • skips already-converted files to prevent redundancy

Usage

currently working on a PYPI release...

  1. Install required packages
    1. pip install pillow_heif
    2. pip install pillow (or use default PIL - legacy)
    3. see requirements.txt
  2. Download the repo .zip
  3. Obtain the path to the python main.py program
  4. Obtain the path to the .heic image folder
  5. Use desired flags

Examples

  • Set the destination folder with --dest

    set custom destination folder
  • Automatically delete converted files with -del

    set delete flag

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)

Source distribution for heic-image-converter 1.0.0
File Size Uploaded
heic_image_converter-1.0.0.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for heic-image-converter 1.0.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page