ImageRegionDecoder

public interface ImageRegionDecoder

Interface for image decoding classes, allowing the default based on the Skia library to be replaced with a custom class.

Functions

Link copied to clipboard
public abstract Bitmap decodeRegion(Rect sRect, int sampleSize)
Decode a region of the image with the given sample size.
Link copied to clipboard
public abstract Point init(Context context, Uri uri)
Initialise the decoder.
Link copied to clipboard
public abstract boolean isReady()
Status check.
Link copied to clipboard
public abstract void recycle()
This method will be called when the decoder is no longer required.