Gs1DataMatrix
GS1 DataMatrix encoder: Data Matrix ECC 200 (ISO/IEC 16022) with FNC1 (codeword 232) first.
Data is encoded with ASCII encodation, digit pairs taking one codeword each.
val symbol = Gs1DataMatrix.encode(Gs1Message.parse("(01)09501101020917(17)261231(10)ABC123"))
symbol.rows; symbol.columns // 20 x 20
symbol[row, column] // true = dark moduleContent copied to clipboard
Functions
Link copied to clipboard
fun encode(message: Gs1Message, shape: DataMatrixShape = DataMatrixShape.SQUARE, size: DataMatrixSize? = null): DataMatrixSymbol