v0.4.0
·
667 commits
to refs/heads/master
since this release
Added
- (Heif) - Numpy array interface support.
- (Heif) -
add_from_bytesmethod andfrom_bytesfunction added. Allows to read 16-bit color images withOpenCV(or any other library) and save it as 10(12) bit HEIF. - (Heif) -
convert_tomethod toHeifImageto provide an easy way to open 10 or 12 bit images as 16 bit forOpenCV(or any other library) - (Heif, HeifImagePlugin) - support for saving images from
I,I;16,BGRA;16,BGR;16,BGRA,BGRmodes. - (Heif) - added
save_to_12bittooptions, defaultFalse. Determines to what bitness will be converted 16 bit images during saving.
Changed
- IMPORTANT!!!
10/12bit images changed their byte order fromBig EndiantoLittle Endian. Probably no one still use that API, but who knows... - (Heif) -
HeifFile.chromaandHeifFile.colorproperties was removed(they were not documented so probably no one will notice this), that info now stored inmode. - (Heif, HeifImagePlugin) -
modefor10/12bits was changed and accepts wider range of values, look here - Docs were
updated&rewrittento reflect all those changes.
Fixed
Exampleswerefixed&rewritten(were broken from0.3.1+ versions).exifloading in HEIF sequence forPillow 9.2+(python-pillow/Pillow#6335)