Companion

object Companion

Functions

Link copied to clipboard

Creates Image from bitmap, sharing or copying bitmap pixels. If the bitmap is marked immutable, and its pixel memory is shareable, it may be shared instead of copied.

Link copied to clipboard
Link copied to clipboard
fun Image.Companion.makeFromEncoded(nsData: <Error class: unknown class>): Image
Link copied to clipboard
Link copied to clipboard
fun makeRaster(imageInfo: ImageInfo, bytes: ByteArray, rowBytes: Int): Image
fun makeRaster(imageInfo: ImageInfo, data: Data, rowBytes: Int): Image

Creates Image from pixels.