image
fun image(bytes: ByteArray, x: Float, y: Float, w: Float, h: Float? = null, cornerRadius: Float = 0.0f, alpha: Float = 1.0f, grayscale: Boolean = false)
An image (PNG/JPEG bytes) at (x, y), w wide; h defaults to keeping the aspect ratio. cornerRadius rounds the corners, alpha / grayscale make a faded "ghost" copy (a common security-print look). Undecodable bytes are skipped.