Java android.graphics BitmapRegionDecoder fields, constructors, methods, implement or subclass

Example usage for Java android.graphics BitmapRegionDecoder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.graphics BitmapRegionDecoder.

The text is from its open source code.

Method

BitmapdecodeRegion(Rect rect, BitmapFactory.Options options)
Decodes a rectangle region in the image specified by rect.
intgetHeight()
Returns the original image's height
intgetWidth()
Returns the original image's width
BitmapRegionDecodernewInstance(FileDescriptor fd, boolean isShareable)
Create a BitmapRegionDecoder from the file descriptor.
BitmapRegionDecodernewInstance(InputStream is, boolean isShareable)
Create a BitmapRegionDecoder from an input stream.
BitmapRegionDecodernewInstance(String pathName, boolean isShareable)
Create a BitmapRegionDecoder from a file path.
BitmapRegionDecodernewInstance(byte[] data, int offset, int length, boolean isShareable)
Create a BitmapRegionDecoder from the specified byte array.
voidrecycle()
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.