'SkImageDecoder::Factory returned null
I'm programming on Android and read images from a remote URL with this call
BitmapFactory.decodeStream( ....
Random, I get the error:
SkImageDecoder::Factory returned null
I read some thread here but not solve my problem (Use a wrapper to InputStream class, use drawable, etc)
Any Idea?
Solution 1:[1]
I also had this problem... eventually i found out that the image was too big and that caused the error. I suggest you try an image that you know will fit more or less. also you can use the lib picasso:
Picasso.with(context).load("http://i.imgur.com/DvpvklR.png").into(imageView);
But for me even with picasso ive got the error... again because the image was too big.
hope it helps (:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | ben |
