Example usage for Java android.graphics BitmapRegionDecoder fields, constructors, methods, implement or subclass
The text is from its open source code.
Bitmap | decodeRegion(Rect rect, BitmapFactory.Options options) Decodes a rectangle region in the image specified by rect. |
int | getHeight() Returns the original image's height |
int | getWidth() Returns the original image's width |
BitmapRegionDecoder | newInstance(FileDescriptor fd, boolean isShareable) Create a BitmapRegionDecoder from the file descriptor. |
BitmapRegionDecoder | newInstance(InputStream is, boolean isShareable) Create a BitmapRegionDecoder from an input stream. |
BitmapRegionDecoder | newInstance(String pathName, boolean isShareable) Create a BitmapRegionDecoder from a file path. |
BitmapRegionDecoder | newInstance(byte[] data, int offset, int length, boolean isShareable) Create a BitmapRegionDecoder from the specified byte array. |
void | recycle() Frees up the memory associated with this region decoder, and mark the region decoder as "dead", meaning it will throw an exception if decodeRegion(), getWidth() or getHeight() is called. |