mirror of
https://github.com/wasabeef/glide-transformations.git
synced 2025-07-04 07:22:44 +08:00
update readme
This commit is contained in:
parent
cfe6dc313a
commit
c914548296
@ -32,7 +32,7 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'jp.wasabeef:glide-transformations:1.0.7@aar'
|
compile 'jp.wasabeef:glide-transformations:1.0.8@aar'
|
||||||
compile 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.2.3@aar'
|
compile 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.2.3@aar'
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@ -54,7 +54,7 @@ You can set a multiple transformations.
|
|||||||
```java
|
```java
|
||||||
BitmapPool pool = Glide.get(this).getBitmapPool();
|
BitmapPool pool = Glide.get(this).getBitmapPool();
|
||||||
Glide.with(this).load(R.drawable.demo).bitmapTransform(
|
Glide.with(this).load(R.drawable.demo).bitmapTransform(
|
||||||
new BlurTransformation(this, pool, 5), new CropCircleTransformation(pool))
|
new BlurTransformation(this, pool, 25, 2), new CropCircleTransformation(pool))
|
||||||
.into((ImageView) findViewById(R.id.image));
|
.into((ImageView) findViewById(R.id.image));
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user