dmtxwrite can apparently create images that it can't decode at smaller module sizes. For example:
$ echo "foo bar" | dmtxwrite -eb -d2 -v -o foobar.png
$ dmtxread -v foobar.png
Rejected due to ECC validation
Then dmtxread will hang for a period of time, as seen here:
$ time dmtxread -v foobar.png
Rejected due to ECC validation
real 0m5.808s
user 0m5.500s
sys 0m0.004s
before dropping back to the command line.
Logged In: YES
user_id=39509
Originator: NO
Just to clarify what this problem is.. if the barcode image is created with a low resolution (2 pixels wide dots in this example) then the decode/reader can not decode them.
I can confirm that this is the case, although increasing the resolution/pixel count to '-d 3' (or more) means that decode functions correctly.
I would suspect that this is something to do with the 'magic' lense algorythm.
Simon.