1
0
mirror of https://github.com/wasabeef/glide-transformations.git synced 2025-12-22 18:30:02 +08:00
* fixed #119

* update gradle files

* rename

* add sample of SupportRSBlur

* update libs

* bump up 3.3.0
This commit is contained in:
Daichi Furiya
2018-04-23 05:08:05 +09:00
committed by GitHub
parent 8c72ad64b9
commit 4818373fc5
30 changed files with 183 additions and 114 deletions

View File

@@ -32,7 +32,7 @@ repositories {
}
dependencies {
implementation 'jp.wasabeef:glide-transformations:3.2.0'
implementation 'jp.wasabeef:glide-transformations:3.3.0'
// If you want to use the GPU Filters
implementation 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.4.1'
}
@@ -61,6 +61,21 @@ Glide.with(this).load(R.drawable.demo)
.into((ImageView) findViewById(R.id.image));
```
# Step 4
If you are using `SupportRSBlurTransformation`.
```groovy
android {
...
defaultConfig {
...
renderscriptTargetApi YOUR_TARGET_SDK_VERSION as int
renderscriptSupportModeEnabled true
}
}
```
## Transformations
### Crop