public class GrayscaleTransformation
extends java.lang.Object
implements com.bumptech.glide.load.Transformation<android.graphics.Bitmap>
| Constructor and Description |
|---|
GrayscaleTransformation(com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool pool) |
GrayscaleTransformation(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId() |
com.bumptech.glide.load.engine.Resource<android.graphics.Bitmap> |
transform(com.bumptech.glide.load.engine.Resource<android.graphics.Bitmap> resource,
int outWidth,
int outHeight) |
public GrayscaleTransformation(android.content.Context context)
public GrayscaleTransformation(com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool pool)
public com.bumptech.glide.load.engine.Resource<android.graphics.Bitmap> transform(com.bumptech.glide.load.engine.Resource<android.graphics.Bitmap> resource,
int outWidth,
int outHeight)
transform in interface com.bumptech.glide.load.Transformation<android.graphics.Bitmap>public java.lang.String getId()
getId in interface com.bumptech.glide.load.Transformation<android.graphics.Bitmap>