Skip to content

lathan218/avif-heic-pil-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

avif-heic-pil-python

Easily convert AVIF and HEIF/HEIC images using Python and Pillow (PIL) with the help of pillow-avif-plugin and pillow-heif.

Features

  • Read and write AVIF and HEIF/HEIC images in Python
  • Simple command-line conversion utility
  • Automatic handling of EXIF orientation

Requirements

Install dependencies with:

pip install -r requirements.txt

Usage

Convert images to AVIF format from the command line:

python converter.py image2.heic example.png

  • Output files will be saved in the same directory as the input, with .avif extension.
  • If a file with the same name exists, a numeric suffix will be added.

About

Using AVIF and HEIF images with Python / PIL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages