mirror of
https://github.com/wasabeef/glide-transformations.git
synced 2025-06-29 21:02:47 +08:00
bump up 2.0.0
This commit is contained in:
parent
817b138980
commit
68bafb0f53
@ -1,6 +1,11 @@
|
|||||||
Change Log
|
Change Log
|
||||||
==========
|
==========
|
||||||
|
|
||||||
|
Version 2.0.0 *(2016-03-02)*
|
||||||
|
----------------------------
|
||||||
|
|
||||||
|
Say v8.RenderScript goodbye
|
||||||
|
|
||||||
Version 1.4.0 *(2016-02-28)*
|
Version 1.4.0 *(2016-02-28)*
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
|
19
README.md
19
README.md
@ -33,7 +33,7 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
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
|
// If you want to use the GPU Filters
|
||||||
compile 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.3.0'
|
compile 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.3.0'
|
||||||
}
|
}
|
||||||
@ -55,25 +55,10 @@ You can set a multiple transformations.
|
|||||||
|
|
||||||
```java
|
```java
|
||||||
Glide.with(this).load(R.drawable.demo)
|
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));
|
.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
|
## Transformations
|
||||||
|
|
||||||
### Crop
|
### Crop
|
||||||
|
@ -22,5 +22,5 @@ POM_DEVELOPER_URL=wasabeef.jp
|
|||||||
ISSUE_URL=https://github.com/wasabeef/glide-transformations/issues
|
ISSUE_URL=https://github.com/wasabeef/glide-transformations/issues
|
||||||
|
|
||||||
SUPPORT_PACKAGE_VERSION=23.1.1
|
SUPPORT_PACKAGE_VERSION=23.1.1
|
||||||
GLIDE_VERSION=3.6.1
|
GLIDE_VERSION=3.7.0
|
||||||
GPUIMAGE_VERSION=1.3.0
|
GPUIMAGE_VERSION=1.3.0
|
Loading…
x
Reference in New Issue
Block a user