libheif icon indicating copy to clipboard operation
libheif copied to clipboard

python pillow support

Open muayyad-alsadi opened this issue 4 years ago • 2 comments

a plugin or a wrapper so that we can open images in python pillow

from PIL import Image
img=Image.open('file.heif')

for more information see https://pillow.readthedocs.io/en/latest/handbook/writing-your-own-file-decoder.html

muayyad-alsadi avatar Sep 25 '19 15:09 muayyad-alsadi

pillow_heif pyheif-pillow-opener

imho, in near future they will get write support.

bigcat88 avatar Mar 05 '22 22:03 bigcat88

@muayyad-alsadi pillow_heif has full binding to libheif itself now. encoding, decoding, xmp, exif, iptc and etc...

bigcat88 avatar May 02 '22 23:05 bigcat88