We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Install the package by running
sudo apt-get install libdmtx-utils
and installing all maybe missing packages it demands.
Now, run the datamatrix generator with a command like echo -n <message> | dmtxwrite -d <size_of_square_in_pixel> -m <margin_in_pixel> > <filename>.png
echo -n <message> | dmtxwrite -d <size_of_square_in_pixel> -m <margin_in_pixel> > <filename>.png
For us, a command like echo -n red_rose | dmtxwrite -d 50 -m 10 > image.png should do the job.
echo -n red_rose | dmtxwrite -d 50 -m 10 > image.png
Check http://www.libdmtx.org/display.php?text=dmtxwrite.1 for further arguments.
To read a datamatrix, type dmtxread -n <filename>.png
dmtxread -n <filename>.png
Check http://www.libdmtx.org/display.php?text=dmtxread.1 for further uses.