ArgbImage

class ArgbImage(val width: Int, val height: Int, val argb: IntArray)

A decoded raster in 0xAARRGGBB layout — the one pixel format every target can hand to its native bitmap type without re-shuffling channels (BufferedImage.TYPE_INT_ARGB, Android Bitmap.Config.ARGB_8888, a 2D canvas' ImageData, a Core Graphics context).

Decoders that produce pixels rather than encoded bytes (GeoTIFF tiles, NITF segments) build one of these and let argbImageSource carry it across the platform seam.

Constructors

Link copied to clipboard
constructor(width: Int, height: Int, argb: IntArray)

Properties

Link copied to clipboard
Link copied to clipboard
val height: Int
Link copied to clipboard
val width: Int

Functions

Link copied to clipboard

Renderer-ready ImageSource for pixels that are already decoded. The image itself is the cache key, so the source is identity-comparable like any other in-memory bitmap.