img[i][j] = (byte) newImg[i][j];
img[i][j] = newImg[i][j];
            public void setImage(int[][] newImg)            {                for (int i = 0; i < img.length; i++)                    for (int j = 0; j < img[0].length; j++)                        img[i][j] = (byte) newImg[i][j];            }