The attached datamatrix barcode contains group separators (GS and US, respectively ASCII 29 and ASCII 31).
The problem is: when i want to read this barcode, the separators are also being returned as their ascii code in plain text!!! For example, Aspose will return
20 21 22
I tried to read the barcode with a library named DataMatrix.Net. The result I get is:
which is not perfect but at least I can replace the unicode representation of the separator with a space for example.
I tried to play with a lot of Aspose.Barcode library parameters, without any success, I always get 29's and 31's returned.
Is there a way to disable this behavior or is this a bug?
My code snippet:
public List Extract(Stream data)
var values = new List();
using (var bitmap = new Bitmap(data))
using (var reader = new BarCodeReader(bitmap, DecodeType.DataMatrix))
var value = reader.GetCodeText(Encoding.UTF8);