Hi, I am running into a error “Negating the minimum value of a twos complement number is invalid.”, when reading a aztec standard barcode. I am reading of images generated from here: Boarding-Pass Barcode Aztec QR Generator
Currently, i will get this error in every 3 out of 10 barcode that i read.
i am using the following settings:
BaseDecodeType[] objArray = new BaseDecodeType[] { DecodeType.QR, DecodeType.Pdf417, DecodeType.DataMatrix, DecodeType.Aztec };
BarCodeReader reader = new BarCodeReader(bmp, objArray);
reader.OrientationHints = RecognitionHints.Orientation.Rotate90;
reader.RecognitionMode = RecognitionMode.MaxQuality;
attached here is a sample of the image that faileddownload (26).png (886 Bytes)
and here is the stack trace
at System.Math.AbsHelper(Int32 value)
at . ( )
at .( , )
at . ( )
at .( , , Boolean )
at . ( )
at .( )
at . ( )
at Aspose.BarCode.BarCodeRecognition.BarCodeReaderImplementation.paes8336qtl4z7c56yf7g927mgl5npzd ()
at Aspose.BarCode.BarCodeRecognition.BarCodeReaderImplementation. ()
at Aspose.BarCode.BarCodeRecognition.BarCodeReader.Read()