Transformations allow you to modify the pixel data of an image before the
Drawable is returned from the request.
Transformations only modify the pixel data for static images. Adding a transformation to an
ImageRequest that produces an animated image will convert it to a static image so the transformation can be applied. To transform the pixel data of each frame of an animated image, see AnimatedTransformation.
Custom transformations should implement
hashCode to ensure that two
ImageRequests with the same properties and using the same transformation are equal.
See the API documentation for more information.
Drawable returned by the image pipeline is not a
BitmapDrawable, it will be converted to one. This will cause animated drawables to only draw the first frame of their animation. This behaviour can be disabled by setting