public final class MatrixToImageWriter
extends java.lang.Object
BitMatrix
to BufferedImage
,
file or stream. Provided here instead of core since it depends on
Java SE libraries.Modifier and Type | Method and Description |
---|---|
static java.awt.image.BufferedImage |
toBufferedImage(BitMatrix matrix,
int fore,
int back)
Renders a
BitMatrix as an image, where "false" bits are rendered
as white, and "true" bits are rendered as black. |