MediaImageExtractor

public class MediaImageExtractor

Utility for extracting Image from MPImage.

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

Public Methods

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

Inherited Methods

Public Methods

public static Image extract (MPImage image)

Extracts a Image from a MPImage. Currently it only works for MPImage that built from MediaImageBuilder.

Parameters
image the image to extract Image from.
Returns
Throws
IllegalArgumentException if the extraction failed.