- data
- byte array of compressed image data.
- offset
- offset into data for where the decoder should begin parsing.
- length
- the number of bytes, beginning at offset, to parse
- isShareable
- If this is true, then the BitmapRegionDecoder may keep a shallow reference to the input. If this is false, then the BitmapRegionDecoder will explicitly make a copy of the input data, and keep that. Even if sharing is allowed, the implementation may still decide to make a deep copy of the input data. If an image is progressively encoded, allowing sharing may degrade the decoding speed.
Documentation for this section has not yet been entered.
Type Reason Java.IO.IOException if the image format is not supported or can not be decoded.
Create a BitmapRegionDecoder from the specified byte array. Currently only the JPEG and PNG formats are supported.