Android Question Lottie Library doesn't work with webp images

walterf25

Expert
Licensed User
Longtime User
Hi Everyone, I am working with this library found here So far everything works fine, but I have a json file that doesn't seem to work as expected, and I believe the reason is that the image format embedded in the json file is webp, all the other files I have worked with have png format and they all work fine, Has anyone worked with this library before and came across this issue?

1723664704613.png


This is what I mean, If I open the file with a text editor I see the highlighted format.

On a file that works fine I see this file format
1723664759901.png


And that is the only difference I see and the only explanation I can come up with as to why the top file is not working as it should, it does still get rendered but there are some parts missing which I am guessing will be the base64 encoded images in webp format.

Is there a way to get this library to work with webp format images?

Thanks in advance everyone.
 
Top