a dirty version of an image to matrix of color values