EncodedImage

@Serializable
data class EncodedImage(val jpegBytes: ByteArray, val orientation: ImageRotation)

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.

Constructors

Link copied to clipboard
constructor(jpegBytes: ByteArray, orientation: ImageRotation)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard