how to make a image into numpy matrix code example Example: pil image to numpy >>> pix = numpy.array(pic)