glide-transformations icon indicating copy to clipboard operation
glide-transformations copied to clipboard

BlurTransformation not working in android api 19

Open sebinpaul opened this issue 7 years ago • 5 comments

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);
                    }
                });

sebinpaul avatar Apr 07 '18 15:04 sebinpaul

Can you try v3.2.0?

wasabeef avatar Apr 09 '18 18:04 wasabeef

Tried, not working, any help?

sebinpaul avatar Apr 09 '18 18:04 sebinpaul

Still couldn't figure out the issue, please help?

sebinpaul avatar Jun 20 '18 15:06 sebinpaul

meet the same problem, blurTransformation not work in android 4.4

iceuncle avatar Jul 18 '18 04:07 iceuncle

I found that the picture contains alpha transparent, this may cause this problem,but how to work out this .....

payneHwang avatar Aug 14 '20 01:08 payneHwang