dmtx-utils

Encode and decode Data Matrix barcodes from the command line

brewmacoslinux
Try with needOr install directly
Source

About

Read and write data matrix barcodes

Commands

dmtxreaddmtxwrite

Examples

Decode a Data Matrix barcode from an image file$ dmtxread barcode.png
Encode text into a Data Matrix barcode image$ dmtxwrite -o barcode.png 'Hello World'
Decode multiple barcode images and output results$ dmtxread *.png