encodeJxr16

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

encodeJxr for 16-bit samples: 16bppGray, 48bppRGB or 64bppRGBA, as bitmap has one, three or four channels; gray with alpha goes as 64bppRGBA. Chroma stays 4:4:4.

Throws