Skip to main content

Convert HEIC images to JPEG from Python or the command line.

Project description

pyheic

Python package to convert .heic / .heif images into .jpg.

Install

pip install pyheic

For local development:

pip install -e .

CLI usage

heic2jpeg input.heic
heic2jpeg input.heic --output output.jpg --quality 90

Python usage

from pyheic import convert_heic_to_jpeg

output = convert_heic_to_jpeg("input.heic", quality=90)
print(output)

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

pyheic-1.0.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyheic-1.0.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyheic-1.0.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for pyheic-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a2022098188a728b9ec8314d81ef0192816800ad3f0414b162779c55ec405583
MD5 675915c94a51ff0239bd1d6b5cd53da6
BLAKE2b-256 c41a96878f786fad9ac68de1f2a88bd09f8da54bfb72afdd2e64d2ea8c511b4a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyheic-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for pyheic-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d53e0c51622138dd56b8d126dadc12009a147f179d349c9cc650f3c8360e04ef
MD5 78054010d1b1fdebf78981808d971280
BLAKE2b-256 f0f39e02fa1afc34550a9c365ee3395c88b6e81132c396a92ca834cd89788ddc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page