Closed YoussefHachicha closed 1 month ago
Sorry this issue isn't actionable without a way to reproduce the issue. Failed to create image decoder with message 'unimplemented'. Input contained an error.
generally indicates that that image data is malformed and can't be decoded. Either the image data is being downloaded malformed or it's becoming malformed while saving it to disk.
@YoussefHachicha Please interact with positive intent. Coil gets a lot of incoming issues and it's not possible for me to deeply investigate each issue - especially when it's not possible to reproduce the issue. I maintain Coil in my spare time for free. Coil's code is open source so it should be possible for you to debug the issue and submit a fix if this is high priority for you.
Describe the bug I'm fetching images from an API, downloading them to internal storage, and then using Coil3 to display them. However, some images randomly appear blank (there is no issue with the image itself, coil fails to load the image), the images URLs are fetched from the API then downloaded to the internal storage then displayed by coil.
Stacktrace this is what the debugger shows
Failed to create image decoder with message 'unimplemented'. Input contained an error.
this is what one of the images requests looks like:
To Reproduce I don't know how to reproduce this it usually happens randomly, I believe it usually happens when I am cancelling the job of getting a certain image or something like that.
Current Solution My current solution is to redownload the image again.
Version kotlin = "2.0.20" compose-plugin = "1.7.0-alpha02" coil = "3.0.0-alpha07"
this happens both on Android and Ios