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

BlurTransformation makes image invisible

Open vivekkartha opened this issue 10 years ago • 5 comments

Whenever I apply BlurTransformation with 10px or any px value for that matter. The image just becomes invisible. Anyone got a solution for this?

vivekkartha avatar Mar 20 '15 06:03 vivekkartha

@vivekkartha I had the same issue. Finally figured out that I had to set renderscriptSupportModeEnabled true in my build.gradle file under defaultConfig. After that it worked great.

chrismeats avatar May 14 '15 20:05 chrismeats

@chrismeats can u tell me how? 'Cause for me it crash every time and telling me Couldn't load libRSSupportIO.so, but the simulator works fine. pls.

qky1412 avatar Nov 10 '15 03:11 qky1412

@qky1412 this is what I have for my android config in my build.gradle file. Hope it helps.

android {
    compileSdkVersion 21
    buildToolsVersion "21.1.2"

    defaultConfig {
        applicationId "co.cht.tourzy"
        minSdkVersion 14
        targetSdkVersion 21
        versionCode 2
        versionName "1.1"
        renderscriptSupportModeEnabled true
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

chrismeats avatar Nov 10 '15 12:11 chrismeats

@chrismeats it works! Thank you very much. I wonder why we don't need specific renderscriptTargetApi.

qky1412 avatar Nov 11 '15 03:11 qky1412

@qky1412 Because we are avoiding using android.support.v8.renderscript.* Renderscript Support Library instead we are using internal/fastblur

xerex09 avatar Jul 29 '16 07:07 xerex09