agg23 / Sila

MIT License
14 stars 6 forks source link

Add support for animated WEBP or AVIF emotes #31

Open agg23 opened 6 months ago

agg23 commented 6 months ago

The external emote providers tend to provide all of their emotes in WEBP or AVIF form. Neither of which is parsed properly by UIImage, particularly when animated. I attempted to use SDWebImageWEBPCoder and SDWebImageAVIFCoder, but they animated very strangely (often displaying blank frames for 30s at a time).

The 7TV API does not explicitly support GIFs, but we're using GIFs for now to bypass this issue. See 63f67c8d757bb0a1d11aac0e87e40435ba45b806