I\'m trying to get the pixel rgb values from a 64 x 48 bit image. I get some values but nowhere near the 3072 (= 64 x 48) values that I\'m expectin
64 x 48
3072 (= 64 x 48)
int argb = img.getRGB(x, y); Your code
int argb = img.getRGB(x, y);
int argb = img.getRGB(y, x); my changes now it works
int argb = img.getRGB(y, x);