open static fun toBitmap(matrix: BitMatrix!): Bitmap!
Renders a BitMatrix
as an image, where "false" bits are rendered as white, and "true" bits are rendered as black. Uses default configuration.
matrix
- BitMatrix!: BitMatrix
to write
Return
Bitmap!: Bitmap
representation of the input
open static fun toBitmap(matrix: BitMatrix!, config: MatrixToImageConfig!): Bitmap!
As #toBitmap(BitMatrix)
, but allows customization of the output.
matrix
- BitMatrix!: BitMatrix
to write
config
- MatrixToImageConfig!: output configuration