📄 qrcodeimagereader.java
字号:
package jp.sourceforge.qrcode.reader;import java.util.Vector;import jp.sourceforge.qrcode.QRCodeDecoder;import jp.sourceforge.qrcode.data.*;import jp.sourceforge.qrcode.exception.AlignmentPatternNotFoundException;import jp.sourceforge.qrcode.exception.FinderPatternNotFoundException;import jp.sourceforge.qrcode.exception.SymbolNotFoundException;import jp.sourceforge.qrcode.exception.InvalidVersionException;import jp.sourceforge.qrcode.exception.VersionInformationException;import jp.sourceforge.qrcode.geom.*;import jp.sourceforge.qrcode.pattern.*;import jp.sourceforge.qrcode.util.*;public class QRCodeImageReader { DebugCanvas canvas; //boolean[][] image; //DP = //23 ...side pixels of image will be limited maximum 255 (8 bits) //22 .. side pixels of image will be limited maximum 511 (9 bits) //21 .. side pixels of image will be limited maximum 1023 (10 bits) //I think it's good idea to use DECIMAL_POINT with type "long" too. public static int DECIMAL_POINT = 21; public static final boolean POINT_DARK = true; public static final boolean POINT_LIGHT = false; SamplingGrid samplingGrid; boolean[][] bitmap; //int numModuleAtSide; //銉囥偝銉笺儔瀵捐薄銇
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -