encodeImage

external fun encodeImage(options: EncodeImageOptions = EncodeImageOptions()): ByteArray

Returns the stored image encoded with the given options.