Skip to main content

Convert .HEIC Images!

Project description

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 :)

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_image_converter-1.0.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

heic_image_converter-1.0.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file heic_image_converter-1.0.0.tar.gz.

File metadata

  • Download URL: heic_image_converter-1.0.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for heic_image_converter-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7d15067c7e929acd6c5b9b4060dc7c5b04da3e10c0e0017bca7ececbf1778d62
MD5 3512cec9acbd5ea5ed486837d3a90fb9
BLAKE2b-256 a67dc14b41ca5388869c184245e01805feac68c210b6f223d6512f924deabf43

See more details on using hashes here.

File details

Details for the file heic_image_converter-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: heic_image_converter-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for heic_image_converter-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae6600b99b89060bb88946c175bcd04c950887459f5c947c9dcb95cfc5997fb9
MD5 aa054a382224603c4893a7f0f1ac1973
BLAKE2b-256 616a84d1e3d6f705f56e1d0c7058ab693905b38173d48b809095938b67c0baab

See more details on using hashes here.

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