internal virtual int[][] imageToIntArray(QRCodeImage image) { int width = image.Width; int height = image.Height; int[][] numArray = new int[width][]; for (int index = 0; index < width; ++index) { numArray[index] = new int[height]; } for (int y = 0; y < height; ++y) { for (int x = 0; x < width; ++x) { numArray[x][y] = image.getPixel(x, y); } } return(numArray); }
internal virtual int[][] imageToIntArray(QRCodeImage image) { int width = image.Width; int height = image.Height; int[][] array = new int[width][]; for (int i = 0; i < width; i++) { array[i] = new int[height]; } for (int j = 0; j < height; j++) { for (int k = 0; k < width; k++) { array[k][j] = image.getPixel(k, j); } } return(array); }
internal virtual int[][] imageToIntArray(QRCodeImage image) { int width = image.Width; int height = image.Height; int[][] intImage = new int[width][]; for (int i = 0; i < width; i++) { intImage[i] = new int[height]; } for (int y = 0; y < height; y++) { for (int x = 0; x < width; x++) { intImage[x][y] = image.getPixel(x, y); } } return(intImage); }
internal virtual int[][] imageToIntArray(QRCodeImage image) { int width = image.Width; int height = image.Height; int[][] numArray = new int[width][]; for (int i = 0; i < width; i++) { numArray[i] = new int[height]; } for (int j = 0; j < height; j++) { for (int k = 0; k < width; k++) { numArray[k][j] = image.getPixel(k, j); } } return numArray; }