apidocs / com.nimmsta.core.android.util / MatrixToImageWriter

MatrixToImageWriter

open class MatrixToImageWriter

Source: QRGen Project https://github.com/kenglxn/QRGen Integrated into NIMMSTA to not clash namespace classes. License: Apache 2.0

Constructors

<init>

Source: QRGen Project https://github.com/kenglxn/QRGen Integrated into NIMMSTA to not clash namespace classes. License: Apache 2.0

MatrixToImageWriter()

Functions

toBitmap

Renders a BitMatrix as an image, where "false" bits are rendered as white, and "true" bits are rendered as black. Uses default configuration.

open static fun toBitmap(matrix: BitMatrix!): Bitmap!

As #toBitmap(BitMatrix), but allows customization of the output.

open static fun toBitmap(matrix: BitMatrix!, config: MatrixToImageConfig!): Bitmap!