-
public interface TransformationAn interface for making transformations to an image's pixel data.
NOTE: If DrawableResult.drawable or DecodeResult.drawable is not a BitmapDrawable, it will be converted to one. This will cause animated drawables to only draw the first frame of their animation.
-
-
Method Summary
-
-
Method Detail
-
transform
abstract Bitmap transform(Bitmap input, Size size)
- Parameters:
input- The input Bitmap to transform.size- The size of the image request.
-
getCacheKey
abstract String getCacheKey()
The unique cache key for this transformation.
The key is added to the image request's memory cache key and should contain any params that are part of this transformation (e.g. size, scale, color, radius, etc.).
-
-
-
-