//qrcode-kotlin/io.github.g0dkar.qrcode.render/QRCodeGraphics/availableFormats
[common, native]
[common]
expect open fun availableFormats(): Array<String>
[native]
actual open fun availableFormats(): Array<String>
Returns the available formats to be passed as parameters to getBytes.
[android, jvm]
[android, jvm]
actual open fun availableFormats(): Array<String>
Returns the available formats to be passed as parameters to getBytes.
Bitmap.CompressFormat |
Bitmap.CompressFormat.PNG |
Bitmap.CompressFormat.JPEG |
Bitmap.CompressFormat.WEBP |
ImageIO.getWriterFileSuffixes |
[js]
actual open fun availableFormats(): Array<String>
Returns the available formats to be passed as parameters to getBytes.
Note: The actual list of supported formats depends on the browser, so this won’t be checked. PNG is always supported.