Class MatrixToImageWriter
java.lang.Object
zext.plantuml.com.google.zxing.client.j2se.MatrixToImageWriter
Writes a
BitMatrix
to BufferedImage
,
file or stream. Provided here instead of core since it depends on
Java SE libraries.-
Method Summary
Modifier and TypeMethodDescriptionstatic BufferedImage
toBufferedImage
(BitMatrix matrix, int fore, int back) Renders aBitMatrix
as an image, where "false" bits are rendered as white, and "true" bits are rendered as black.
-
Method Details
-
toBufferedImage
Renders aBitMatrix
as an image, where "false" bits are rendered as white, and "true" bits are rendered as black.
-