coomar2841 / image-chooser-library

An Easy Image/Video Chooser Library for your Android Apps
646 stars 193 forks source link

decoder->decode returned false #120

Closed matskr90dev closed 8 years ago

matskr90dev commented 8 years ago

Phone: Nexus 4 Android: 5.1.1

I use code similar to your example app:

@Override
public void onImageChosen(final ChosenImage image) {
    runOnUiThread(new Runnable() {
        @Override
        public void run() {
            Picasso.with(MainActivity.this).load(image.getFileThumbnail()).fit().into(imageViewThumbnail);
        }
    });
}

But I got: D/skia: --- decoder->decode returned false

What's wrong?

coomar2841 commented 8 years ago

That happens, when for some images, Android is not able to generate a bitmap for an image. Try searching for this error on SO, and you will find some information. But, I will keep this issue open and see what I can do to solve this.

parkjaeiek commented 8 years ago

i have same issue too.