//qrcode-kotlin/io.github.g0dkar.qrcode/QRCode/computeImageSize
[common]
fun computeImageSize(cellSize: Int = DEFAULT_CELL_SIZE, margin: Int = 0, rawData: Array<Array<QRCodeSquare?>> = encode()): Int
fun computeImageSize(cellSize: Int = DEFAULT_CELL_SIZE, margin: Int = DEFAULT_MARGIN, size: Int): Int
Compute the final size of the image of this QRCode based on the given cellSize
and margin
.
This means this QRCode will be <size> x <size>
pixels. For example, if this method returns 100, the resulting image will be 100x100 pixels.