Comment 0 for bug 465571

Revision history for this message
inductiveload (inductiveload) wrote :

I have created a new extnesion for encoding DataMatrix 2D barcodes from a given text.

This extension renders a DataMatrix 2D barcode, as specified in
BS ISO/IEC 16022:2006. Only ECC200 codes are considered, as these are the only
ones recommended for an "open" system.

The size of the DataMatrix is variable between 10x10 to 144x144, encoding up to 3116
digits or 1558 alpha numberic characters.

The absolute size of the DataMatrix modules (the little squares) is also
variable.

If more data is given than can be contained in one DataMatrix,
more than one DataMatrices will be produced.

Text is encoded as ASCII (the standard provides for other options, but these are
not implemented). Consecutive digits are encoded in a compressed form, halving
the space required to store them.

Note: the 144x144 matrix is a spacial case, and may or may not work. I cannot test the output of this script, as the decoders I have used seem incapable of decoding _any_ matrices of this size.