| Package | Description |
|---|---|
| com.google.zxing | Subset of ZXing (Zebra Crossing) library containing QR code
generation functionality for I2P destinations. |
| com.google.zxing.client.j2se | Java SE client-side implementation for ZXing barcode library. |
| com.google.zxing.common | Common utilities and classes for ZXing barcode and QR code processing. |
| com.google.zxing.qrcode | QR code detection, decoding, and encoding for ZXing. |
| com.google.zxing.qrcode.decoder | QR code decoding implementation for ZXing. |
| Modifier and Type | Method and Description |
|---|---|
BitMatrix | Writer.encode(String contents,
BarcodeFormat format,
int width,
int height)Encode a barcode using the default settings. |
BitMatrix | Writer.encode(String contents,
BarcodeFormat format,
int width,
int height,
Map<EncodeHintType,?> hints)Encode a barcode using the specified settings and optional hints. |
| Modifier and Type | Method and Description |
|---|---|
static BufferedImage | MatrixToImageWriter.toBufferedImage(BitMatrix matrix)Renders a BitMatrix as an image, where "false" bits are rendered
as white, and "true" bits are rendered as black. |
static BufferedImage | MatrixToImageWriter.toBufferedImage(BitMatrix matrix,
MatrixToImageConfig config)As MatrixToImageWriter.toBufferedImage(BitMatrix), but allows customization of the output. |
static void | MatrixToImageWriter.writeToFile(BitMatrix matrix,
String format,
File file)Deprecated. |
static void | MatrixToImageWriter.writeToFile(BitMatrix matrix,
String format,
File file,
MatrixToImageConfig config) |
static void | MatrixToImageWriter.writeToPath(BitMatrix matrix,
String format,
Path file)Writes a BitMatrix to a file with default configuration. |
static void | MatrixToImageWriter.writeToPath(BitMatrix matrix,
String format,
Path file,
MatrixToImageConfig config)As MatrixToImageWriter.writeToFile(BitMatrix, String, File), but allows customization of the output. |
static void | MatrixToImageWriter.writeToStream(BitMatrix matrix,
String format,
OutputStream stream)Writes a BitMatrix to a stream with default configuration. |
static void | MatrixToImageWriter.writeToStream(BitMatrix matrix,
String format,
OutputStream stream,
MatrixToImageConfig config)As MatrixToImageWriter.writeToStream(BitMatrix, String, OutputStream), but allows customization of the output. |
| Modifier and Type | Method and Description |
|---|---|
BitMatrix | BitMatrix.clone() |
static BitMatrix | BitMatrix.parse(boolean[][] image)Interprets a 2D array of booleans as a BitMatrix, where "true" means an "on" bit. |
static BitMatrix | BitMatrix.parse(String stringRepresentation,
String setString,
String unsetString)Parses a string representation of a bit matrix. |
| Modifier and Type | Method and Description |
|---|---|
void | BitMatrix.xor(BitMatrix mask)Exclusive-or (XOR): Flip the bit in this BitMatrix if the corresponding
mask bit is set. |
| Modifier and Type | Method and Description |
|---|---|
BitMatrix | QRCodeWriter.encode(String contents,
BarcodeFormat format,
int width,
int height) |
BitMatrix | QRCodeWriter.encode(String contents,
BarcodeFormat format,
int width,
int height,
Map<EncodeHintType,?> hints) |
| Modifier and Type | Method and Description |
|---|---|
(package private) BitMatrix | Version.buildFunctionPattern()See ISO 18004:2006 Annex E |