printing RGB for all pixels in image matrix