C40
--
simon@juicebox:~$ echo -n 'HELLO' | ~/libdmtx-svn/trunk/util/dmtxwrite/dmtxwrite -e c -o temp.png
simon@juicebox:~$ ~/libdmtx-svn/trunk/util/dmtxread/dmtxread -n temp.png
HELLO
simon@juicebox:~$ echo -n 'HELLO' | ~/libdmtx-svn/trunk/util/dmtxwrite/dmtxwrite -e c -s 26x26 -o temp.png
simon@juicebox:~$ ~/libdmtx-svn/trunk/util/dmtxread/dmtxread -n temp.png
HELLOPK5 HC8MJHTQQYY0JL7SQEVHM7G320,65Y"A>5SNI9DZ\>82j
--
EDIFACT
--
simon@juicebox:~$ echo -n 'HELLO' | ~/libdmtx-svn/trunk/util/dmtxwrite/dmtxwrite -e e -s 26x26 -o temp.png
simon@juicebox:~$ ~/libdmtx-svn/trunk/util/dmtxread/dmtxread -n temp.png
34:79g20,65Y"A>5SNI9DZ\>82j
simon@juicebox:~$ echo -n 'HELLO' | ~/libdmtx-svn/trunk/util/dmtxwrite/dmtxwrite -e e -o temp.png
simon@juicebox:~$ ~/libdmtx-svn/trunk/util/dmtxread/dmtxread -n temp.png
--
TEXT
--
simon@juicebox:~$ echo -n 'hello' | ~/libdmtx-svn/trunk/util/dmtxwrite/dmtxwrite -e t -s 26x26 -o temp.png
simon@juicebox:~$ ~/libdmtx-svn/trunk/util/dmtxread/dmtxread -n temp.png
hellopk5 hc8mjhtqqyy0jl7sqevhm7g320,65Y"A>5SNI9DZ\>82j
simon@juicebox:~$ echo -n 'hello' | ~/libdmtx-svn/trunk/util/dmtxwrite/dmtxwrite -e t -o temp.png
simon@juicebox:~$ ~/libdmtx-svn/trunk/util/dmtxread/dmtxread -n temp.png
hello
--
ASCII appears to work OK.
Simon.
looking at code words it looks like the termination (last data byte) is not done properly. Shouldn't that last data byte be '254' if there is any padding?
Does it assume that the barcode is the minimum size, when it should know that there is extra space available/forced?
simon@juicebox:~$ echo -n 'HELLO' | ~/libdmtx-svn/trunk/util/dmtxwrite/dmtxwrite -e c -c
d:230
d:134
d:042
d:160
d:161
e:215
e:045
e:100
e:067
e:018
e:246
e:03
simon@juicebox:~$ echo -n 'HELLO' | ~/libdmtx-svn/trunk/util/dmtxwrite/dmtxwrite -e c -s 26x26 -c
d:230
d:134
d:042
d:160
d:161
p:129
p:161
p:056
p:206
p:101
p:251
p:147
p:042
p:192
p:087
p:237
p:133
p:028
p:178
p:073
p:223
p:118
p:014
p:164
p:059
p:209
p:104
p:254
p:150
p:045
p:195
p:090
p:240
p:136
p:031
p:181
p:076
p:226
p:121
p:017
p:167
p:062
p:212
p:107
e:133
e:179
e:212
e:199
e:133
e:231
e:067
e:104
e:236
e:037
e:110
e:108
e:050
e:161
e:173
e:100
e:123
e:211
e:244
e:045
e:095
e:151
e:174
e:010
e:114
e:103
e:054
e:078