Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images are not Blurred in Android 4.4.1 (Glide-transformations 4.0.1) #161

Open
AndreaLVR opened this issue Jul 26, 2019 · 1 comment
Open

Comments

@AndreaLVR
Copy link

AndreaLVR commented Jul 26, 2019

Hi,

I tried a BlurTransformation on multiple images, but the result is that the image is not blurred.
I tried to increase the value of "radius" (I tried (25,3), (100,2), (1,1), (20,3)) but nothing, the images still remain as before.

I also tried:

.apply(new RequestOptions().transform(new BlurTransformation(25))), but nothing.

@iAlex97
Copy link

iAlex97 commented Aug 17, 2019

Hello,

I also experienced this kind of "issue".
In my case, I was overriding this transformation by a .centerCrop() call, therefore:

This seemed like the BlurTransformation was in vain and the image looked like the original

GlideApp.with(this)
                    .load("http://url.com")
                    .transform(new BlurTransformation())
                    .centerCrop()
                    .into(imageView);

while this blurred the image properly:

GlideApp.with(this)
                    .load("http://url.com")
                    .centerCrop()
                    .transform(new BlurTransformation())
                    .into(imageView);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants