//qrcode-kotlin/io.github.g0dkar.qrcode.render/QRCodeGraphics/getBytes
[common, js, native]
[common]
expect open fun getBytes(): ByteArray
[js, native]
actual open fun getBytes(): ByteArray
Returns this image as a ByteArray encoded as PNG.
[android]
actual open fun getBytes(): ByteArray
Returns this image as a ByteArray encoded as PNG. Recommended to use writeImage.
QRCodeGraphics.writeImage |
QRCodeGraphics.writeImage |
[jvm]
actual open fun getBytes(): ByteArray
Returns this image as a ByteArray encoded as PNG. Usually recommended to use writeImage instead :)
QRCodeGraphics.writeImage |
QRCodeGraphics.writeImage |
[common, js, native]
[common]
expect open fun getBytes(format: String): ByteArray
[js, native]
actual open fun getBytes(format: String): ByteArray
Returns this image as a ByteArray encoded as the specified format (e.g. PNG
, JPG
, BMP
, …).
[android]
actual open fun getBytes(format: String): ByteArray
Returns this image as a ByteArray encoded as the specified format. Recommended to use writeImage.
QRCodeGraphics.writeImage |
QRCodeGraphics.availableFormats |
QRCodeGraphics.writeImage |
[jvm]
actual open fun getBytes(format: String): ByteArray
Returns this image as a ByteArray encoded as the specified format. Usually recommended to use writeImage instead :)
QRCodeGraphics.writeImage |
QRCodeGraphics.availableFormats |
QRCodeGraphics.writeImage |