AI-generated Key Takeaways
-
MediaMlImageBuilderis used to build anMlImagefrom anImage. -
You should not modify the content of the
Imageafter it's passed to the builder. -
MediaImageExtractorcan be used to get the originalImageback from the builder. -
The constructor requires a mandatory
Imageobject. -
You can set the rotation of the
MlImageusing thesetRotationmethod before building.
Once Image
is passed in,
to keep data integrity you shouldn't modify content in it.
Use MediaImageExtractor
to get Image
you passed
in.
Public Constructor Summary
Public Method Summary
| MlImage | |
| MediaMlImageBuilder |
Inherited Method Summary
Public Constructors
public MediaMlImageBuilder ( Image mediaImage)
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:
- rotation: 0
Parameters
Public Methods
public MediaMlImageBuilder setRotation (int rotation)
Sets value for MlImage.getRotation()
.


