By Uri
class ByUri(val uri: Uri, val width: Int, val height: Int, val rotationDegrees: Int = 0) : MediaProcessor.Media.Image.Original
Parameters
uri
an identifier for the image content. There are the URI schemes accepted: file://, asset://, res:// and content://.
width
the width of the image in pixels.
height
the height of the image in pixels.
rotation Degrees
rotation that should be applied on the image after decoding.