glide-transformations
glide-transformations copied to clipboard
Increasing sampling causes a decrease in the image size
When I'm blurring, if I use any other sampling value other than 1, it causes the image to become smaller:
.apply(RequestOptions.bitmapTransform(new BlurTransformation(25, 1))
Is there a way to apply a higher sampling value while maintaining the image size?
@Coehill
Usually, the radius of some Blur is <=25, so we have to use sampling and than 2 or more.
https://developer.android.com/reference/android/renderscript/ScriptIntrinsicBlur.html#setRadius(float)