CircleCrop
A Glide BitmapTransformation to circle crop an image. Behaves similar to a transform, but the resulting image is masked to a circle.
Uses a PorterDuff blend mode, see http://ssp.impulsetrain.com/porterduff.html.
Functions
Link copied to clipboard
fun transform( context: Context, resource: Resource<Bitmap>, outWidth: Int, outHeight: Int): Resource<Bitmap>
Content copied to clipboard
abstract fun transform( context: Context, resource: Resource<T>, outWidth: Int, outHeight: Int): Resource<T>
Content copied to clipboard
Transforms the given resource and returns the transformed resource.
Link copied to clipboard
Adds all uniquely identifying information to the given digest.