Class MatrixToImageWriter
- java.lang.Object
-
- ext.plantuml.com.google.zxing.client.j2se.MatrixToImageWriter
-
public final class MatrixToImageWriter extends Object
Writes aBitMatrix
toBufferedImage
, file or stream. Provided here instead of core since it depends on Java SE libraries.- Author:
- Sean Owen
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
toBufferedImage
public static 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.
-
-