question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ImageDecoderDecoder does not display GIFs on Android 9

See original GitHub issue

Faced a problem on Android 9 in which the library does not display GIFs with the ImageDecoderDecoder. With the GifDecoder it works fine.

There are no errors while loading and decoding the image, but the Drawable is not displayed

I’m using library version 0.9.5

    implementation  "io.coil-kt:coil:0.9.5"
    implementation  "io.coil-kt:coil-gif:0.9.5"

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
colinrtwhitecommented, Apr 1, 2020

👍 Feel free to reopen if you encounter this again on a hardware device.

0reactions
TalbotGoodaycommented, Apr 1, 2020

Yes, you are probably right. Everything works fine on the physical device. Tested on Lenovo TB-X505L

Read more comments on GitHub >

github_iconTop Results From Across the Web

Display Animated GIF - Stack Overflow
Android actually can decode and display animated GIFs, using android.graphics.Movie class. This is not too much documented, but is in SDK Reference.
Read more >
ImageDecoder - Android Developers
If the encoded image is an animated GIF or WEBP , decodeDrawable will return an ... If the encoded source does not exactly...
Read more >
GIF App Development – Challenges & Tips - Droids On Roids
Now, let's take a deeper look into GIF encoding and see why this process is much more complicated than decoding. There are 2...
Read more >
140221 - gif images rendering, then disappearing - Monorail
Findings: Unable to reproduce gif images rendering, then disappearing issue on above chrome version. Please check if you blocked gif images at ...
Read more >
koral--/android-gif-drawable: Views and Drawable for ... - GitHub
Views and Drawable for displaying animated GIFs on Android - GitHub ... If given drawable is not a GIF then mentioned Views work...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found