Playing with image to RGB 2D array