1
0
mirror of https://github.com/wasabeef/glide-transformations.git synced 2025-06-28 20:35:54 +08:00

bump up 2.0.0

This commit is contained in:
wasabeef 2016-03-02 23:09:31 +09:00
parent 817b138980
commit 68bafb0f53
3 changed files with 8 additions and 18 deletions

View File

@ -1,6 +1,11 @@
Change Log
==========
Version 2.0.0 *(2016-03-02)*
----------------------------
Say v8.RenderScript goodbye
Version 1.4.0 *(2016-02-28)*
----------------------------

View File

@ -33,7 +33,7 @@ repositories {
}
dependencies {
compile 'jp.wasabeef:glide-transformations:1.4.0'
compile 'jp.wasabeef:glide-transformations:2.0.0'
// If you want to use the GPU Filters
compile 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.3.0'
}
@ -55,25 +55,10 @@ You can set a multiple transformations.
```java
Glide.with(this).load(R.drawable.demo)
.bitmapTransform(new BlurTransformation(context, 25, 2), new CropCircleTransformation(context))
.bitmapTransform(new BlurTransformation(context, 25), new CropCircleTransformation(context))
.into((ImageView) findViewById(R.id.image));
```
## Step 4
If you are using `BlurTransformation`.
```groovy
android {
...
defaultConfig {
// Warning:Renderscript support mode is not currently supported with renderscript target 21+
renderscriptTargetApi 20
renderscriptSupportModeEnabled true
}
}
```
## Transformations
### Crop

View File

@ -22,5 +22,5 @@ POM_DEVELOPER_URL=wasabeef.jp
ISSUE_URL=https://github.com/wasabeef/glide-transformations/issues
SUPPORT_PACKAGE_VERSION=23.1.1
GLIDE_VERSION=3.6.1
GLIDE_VERSION=3.7.0
GPUIMAGE_VERSION=1.3.0