wasabeef / picasso-transformations

An Android transformation library providing a variety of image transformations for Picasso

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BlurTransformation makes image invisible

vivekkartha opened this issue · 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 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.

commented

@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 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'
        }
    }
}
commented

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

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