Utility for extracting Image from
MlImage.
Currently it only supports MlImage with
MlImage.STORAGE_TYPE_MEDIA_IMAGE,
otherwise IllegalArgumentException
will be thrown.
| static Image |
Extracts a Image from an
MlImage.
Currently it only works for MlImage that
built from MediaMlImageBuilder.
Notice: Properties of the image like rotation will not take
effects.
| image | the image to extract Image
from. |
|---|
| IllegalArgumentException | if the extraction failed. |
|---|