write Image
fun writeImage(destination: OutputStream, format: String = "PNG", quality: Int = 100)
Content copied to clipboard
Writes the QRCode image in the specified format and quality into the destination OutputStream.
For app stability reasons if the specified format doesn't exist it'll be defaulted to PNG.
Note: Please note that JPG
is supported via the JPEG value, with an E
.
Content copied to clipboard
See also
Writes the QRCode image in the specified format into the destination OutputStream.
See also
Throws
No suitable Image Writer was found for the specified format.