ByUri
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.
rotationDegrees
rotation that should be applied on the image after decoding.