glide-transformations
glide-transformations copied to clipboard
BlurTransformation not working in android api 19
I'm trying to blur a ImageView in android api 19, but not even the image is shown. If I remove the BlurTransformation line of code, then the image is displayed correctly else no image is displayed. Blurry image is not displayed whatsoever. I don't know what I'm doing wrong. Please help me!
Glide.with(getApplicationContext()).asBitmap()
.load(songInfoModel.getAlbumIDArtwork())
.apply(new RequestOptions().transform(new BlurTransformation(50))
.diskCacheStrategy(DiskCacheStrategy.ALL))
.into(new SimpleTarget<Bitmap>() {
@Override
public void onResourceReady(Bitmap resource, Transition<? super Bitmap> transition) {
lyricsBackground.setImageBitmap(resource);
}
});
Can you try v3.2.0?
Tried, not working, any help?
Still couldn't figure out the issue, please help?
meet the same problem, blurTransformation not work in android 4.4
I found that the picture contains alpha transparent, this may cause this problem,but how to work out this .....