KiteBitmap
A decoded raster image: width × height pixels, packed as non-premultiplied ARGB_8888 in a row-major argb array (argb[y * width + x], alpha in the top byte). One layout for every source format: decoders normalise grayscale, palette, BGR and 16-bit inputs into this on the way out, so consumers and the Compose interop never branch on the source format.
argb is exposed directly (not copied) so a full-screen photo doesn't pay a second multi-megabyte allocation on the way to ImageBitmap. Treat it as read-only; mutate it only if you own the instance.
Properties
Functions
Mirror left-to-right.
Mirror top-to-bottom.
True if any pixel has alpha < 255. O(n) scan, not cached.
Apply an EXIF orientation so the result is oriented the way the camera meant it to be seen. Orientation.Normal returns the same instance.
Rotate a half turn. Dimensions are unchanged.
Rotate a quarter turn counter-clockwise. Width and height swap.
Rotate a quarter turn clockwise. Width and height swap.
Mirror across the main diagonal: dst(x, y) = src(y, x). Axes swap.
Mirror across the anti-diagonal. Axes swap.