BitmapExtractor

public final class BitmapExtractor

Utility for extracting Bitmap from MPImage.

Currently it only supports MPImage with MPImage.STORAGE_TYPE_BITMAP, otherwise IllegalArgumentException will be thrown.

Public Methods

static Bitmap
extract(MPImage image)
Extracts a Bitmap from a MPImage.

Inherited Methods

boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Methods

public static Bitmap extract (MPImage image)

Extracts a Bitmap from a MPImage.

Parameters
image the image to extract Bitmap from.
Returns
Throws
IllegalArgumentException when the extraction requires unsupported format or data type conversions.