PngData

class PngData(val data: ByteArray)

A class that represents PNG image data.

Constructors

Link copied to clipboard
constructor(data: ByteArray)

Properties

Link copied to clipboard

The raw PNG image data as a byte array.

Functions

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

Indicates whether some other object is "equal to" this one.

Link copied to clipboard
fun getAsBitmap(options: BitmapFactory.Options = DEFAULT_DECODE_OPTIONS): Bitmap?

Decodes the PNG data into a Bitmap object using the specified decoding options.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.