EncodedImage
Represents an image encoded as JPEG data along with its orientation.
This data class is used to hold an image that has been encoded into a JPEG byte array, along with its original orientation. It provides utility functions to convert the encoded image back to a Bitmap or to a Base64 encoded string.