mirror of
https://github.com/wasabeef/glide-transformations.git
synced 2025-10-04 18:03:21 +08:00
Release 4.3.0 (#184)
* refactor: clean code * update: gpuimage * update: min sdk to 21 * refactor: remove support rs * update: gradle plugin * style: fix xml format * update: update gradle properties * release 4.2.1 * update: samples * update: sample * update:changelog * remove comments * change release version
This commit is contained in:
@@ -16,7 +16,7 @@ class MainActivity : AppCompatActivity() {
|
||||
layoutManager = LinearLayoutManager(context)
|
||||
adapter = MainAdapter(context, mutableListOf(
|
||||
Mask, NinePatchMask, RoundedCorners, CropTop, CropCenter, CropBottom, CropSquare, CropCircle,
|
||||
CropCircleWithBorder, Grayscale, Blur, SupportRSBlur, Toon, Sepia, Contrast, Invert,
|
||||
CropCircleWithBorder, Grayscale, BlurLight, BlurDeep, Toon, Sepia, Contrast, Invert,
|
||||
Pixel, Sketch, Swirl, Brightness, Kuawahara, Vignette
|
||||
))
|
||||
}
|
||||
|
@@ -41,8 +41,8 @@ class MainAdapter(
|
||||
ColorFilter,
|
||||
Grayscale,
|
||||
RoundedCorners,
|
||||
Blur,
|
||||
SupportRSBlur,
|
||||
BlurLight,
|
||||
BlurDeep,
|
||||
Toon,
|
||||
Sepia,
|
||||
Contrast,
|
||||
@@ -131,14 +131,14 @@ class MainAdapter(
|
||||
RoundedCornersTransformation.CornerType.DIAGONAL_FROM_TOP_LEFT)))
|
||||
.into(holder.image)
|
||||
|
||||
Blur -> Glide.with(context)
|
||||
BlurLight -> Glide.with(context)
|
||||
.load(R.drawable.check)
|
||||
.apply(bitmapTransform(BlurTransformation(25)))
|
||||
.into(holder.image)
|
||||
|
||||
SupportRSBlur -> Glide.with(context)
|
||||
BlurDeep -> Glide.with(context)
|
||||
.load(R.drawable.check)
|
||||
.apply(bitmapTransform(SupportRSBlurTransformation(25, 10)))
|
||||
.apply(bitmapTransform(BlurTransformation(25, 8)))
|
||||
.into(holder.image)
|
||||
|
||||
Toon -> Glide.with(context)
|
||||
|
Reference in New Issue
Block a user