Allow 24-digit ITF

git-svn-id: https://zxing.googlecode.com/svn/trunk@1655 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2010-11-15 19:58:23 +00:00
parent 57dcd70c75
commit b19fbf3d4b

View file

@ -46,7 +46,7 @@ public final class ITFReader extends OneDReader {
private static final int W = 3; // Pixel width of a wide line
private static final int N = 1; // Pixed width of a narrow line
private static final int[] DEFAULT_ALLOWED_LENGTHS = { 6, 10, 12, 14, 44 };
private static final int[] DEFAULT_ALLOWED_LENGTHS = { 6, 10, 12, 14, 24, 44 };
// Stores the actual narrow line width of the image being decoded.
private int narrowLineWidth = -1;