react-native-blasted-image icon indicating copy to clipboard operation
react-native-blasted-image copied to clipboard

[android, ios] is avif support planned ?

Open Lakston opened this issue 1 year ago • 2 comments

Hello all, first of all thanks for the lib :)

I'm looking into using avif (and / or webP but a preference for avif) images in our app so I'm looking for a library that can display those formats, I looked into Glide and SDWebImage and it looks like they can both be extended to support those.

Is this planned at some point for the library ? Or maybe could someone point us (I know some other users already asked about it) towards a way to add this ? Maybe adding a section in the readme to explain how to do such a thing ?

I'm not sure I know native code enough to implement this but I could look into it with some help and propose something, I tried briefly with no success.

Thanks for your help !

Lakston avatar Oct 08 '24 07:10 Lakston

Hello!

Thank you for the feedback and your feature request. I will look into it as soon as i get some time available and get back to you.

Best regards! 🚀

xerdnu avatar Oct 08 '24 17:10 xerdnu

Thanks ! In the mean time I'll probably look into it too on my side and will report back if I can achieve something.

Lakston avatar Oct 09 '24 08:10 Lakston

Hey, just to let you know I managed to add AVIF support on Android here

Still trying to firgure out how to do it on iOS, if you have any ideas, otherwise I'll report back when I find something !

Lakston avatar Oct 15 '24 13:10 Lakston

Here is AVIF support on iOS

I don't know if you want to add this to the core library, if so I can open a PR, otherwise we could document it in the readme maybe.

In any case the code is available in this Issue for people to look at if they need it.

Lakston avatar Oct 16 '24 09:10 Lakston

@Lakston

Added in v1.1.0 🚀

xerdnu avatar Jan 31 '25 21:01 xerdnu