bmuller / fastimage

Python library that finds the size / type of an image given its URI by fetching as little as needed
MIT License
28 stars 3 forks source link

Support of AVIF #1

Open entGriff opened 2 years ago

entGriff commented 2 years ago

hello, since AVIF format becomes more and more popular, would be great if support of HEIC/AVIF formats would be added.

Here is the implementation of HEIC support in ruby fastimage : https://github.com/sdsykes/fastimage/pull/125/files Here is implementation of AVIF support(which generally uses the same code as HEIC, since both of them have ISO_BMFF format.): https://github.com/sdsykes/fastimage/pull/135/files

Thank you!

bmuller commented 2 years ago

Hey @ent1c3d - this is a great idea! Thanks for the suggestion. I'm unlikely to be able to have the time to add support any time soon, but pull requests are welcome if you want to implement.