You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Are animated images like webp or gif supported on Android? #100
Hi team! I'm trying to integrate Nitro Image into our app but I ran into some issues. To narrow it down, I created simple Expo App and installed nitro image there. While ios is working fine, on Android I'm hitting error Requested Image is not a Bitmap! when trying to load remote animated gif. I got the same issue with animated webp.
They should be supported via the web-image loader - can you try to use useImageLoader or basically just passing { url: ... } directly, insetead of using useImage(...)?
Hello @adammruk, by default nitro-image doesn't support loading animated images such as .gif for now. I have an open PR which adds support for this and other animated image extensions via a separate package. Feel free to try our the PR locally.
Activity
mrousavy commentedon Mar 11, 2026
Hmm, I think it might be because we cast to
Bitmap. I'll look into thismrousavy commentedon Mar 15, 2026
They should be supported via the web-image loader - can you try to use
useImageLoaderor basically just passing{ url: ... }directly, insetead of usinguseImage(...)?SMhdAsadi commentedon Apr 15, 2026
I had several animated images in AVIF format. Tried to load them with
requireinuseImageLoaderbut only the first frame is shown.DaveyEke commentedon Apr 27, 2026
Hello @adammruk, by default nitro-image doesn't support loading animated images such as .gif for now. I have an open PR which adds support for this and other animated image extensions via a separate package. Feel free to try our the PR locally.