"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "core/src/main/java/com/google/zxing/datamatrix/DataMatrixReader.java" between
zxing-zxing-3.4.1.tar.gz and zxing-zxing-3.5.0.tar.gz

About: ZXing ("zebra crossing") is a multi-format 1D/2D barcode image processing library implemented in Java, with ports to other languages. Info: Project is in maintenance mode (no active development).

DataMatrixReader.java  (zxing-zxing-3.4.1):DataMatrixReader.java  (zxing-zxing-3.5.0)
skipping to change at line 86 skipping to change at line 86
Result result = new Result(decoderResult.getText(), decoderResult.getRawByte s(), points, Result result = new Result(decoderResult.getText(), decoderResult.getRawByte s(), points,
BarcodeFormat.DATA_MATRIX); BarcodeFormat.DATA_MATRIX);
List<byte[]> byteSegments = decoderResult.getByteSegments(); List<byte[]> byteSegments = decoderResult.getByteSegments();
if (byteSegments != null) { if (byteSegments != null) {
result.putMetadata(ResultMetadataType.BYTE_SEGMENTS, byteSegments); result.putMetadata(ResultMetadataType.BYTE_SEGMENTS, byteSegments);
} }
String ecLevel = decoderResult.getECLevel(); String ecLevel = decoderResult.getECLevel();
if (ecLevel != null) { if (ecLevel != null) {
result.putMetadata(ResultMetadataType.ERROR_CORRECTION_LEVEL, ecLevel); result.putMetadata(ResultMetadataType.ERROR_CORRECTION_LEVEL, ecLevel);
} }
result.putMetadata(ResultMetadataType.SYMBOLOGY_IDENTIFIER, "]d" + decoderRe sult.getSymbologyModifier());
return result; return result;
} }
@Override @Override
public void reset() { public void reset() {
// do nothing // do nothing
} }
/** /**
* This method detects a code in a "pure" image -- that is, pure monochrome im age * This method detects a code in a "pure" image -- that is, pure monochrome im age
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)