Class MatrixToImageWriter

java.lang.Object
ext.plantuml.com.google.zxing.client.j2se.MatrixToImageWriter

public final class MatrixToImageWriter extends Object
Writes a BitMatrix to BufferedImage, file or stream. Provided here instead of core since it depends on Java SE libraries.
  • Method Details

    • toBufferedImage

      public static 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.