encodeJxl16

fun encodeJxl16(bitmap: KiteBitmap16, options: JxlEncodeOptions, metadata: ImageMetadata = ImageMetadata(), cancellationCheck: () -> Unit? = null): ByteArray(source)

encodeJxl for samples of 16 bits: gray, gray and alpha, RGB or RGBA as bitmap holds them, with a bit depth of 16 in the header. A lossless file decodes to exactly the input with decode16 (#179).

Throws