Open FavorMylikes opened 2 years ago
You need at least 2 pixels, this behavior is noticeable in libdmtx so this is not something the wrapper causes.
If I save your data as an image, using the dmtxread function from https://github.com/dmtx/dmtx-utils gives no results.
When I input an image that is twice the size it does, but only after adding a white border to it (1px is enough).
Best approach would be to add a white border around your datamatrix and scale up by 200%.
Maybe there is a setting that disables the need for a border though.
I have to say, I have a very clear picture, and all bit of matric data is OK.
You can just use this 20x20 array to reproduce it.
Before use it, you need mul 255, I make them to
0,1
to save space of screen.Until now, I have to resize it to larger one to recognize the data.