Once Image is passed in,
to keep data integrity you shouldn't modify content in it.
Use MediaImageExtractor
to get Image you passed
in.
| MlImage | |
| MediaMlImageBuilder |
setRotation(int rotation)
Sets value for
MlImage.getRotation().
|
Creates the builder with a mandatory Image.
Also calls
setRotation(int) to set the optional properties. If not set, the values will
be set with default:
| mediaImage | image data object. |
|---|
Sets value for MlImage.getRotation().
| IllegalArgumentException | if the rotation value is not 0, 90, 180 or 270. |
|---|