convert JpegImageFile image to numpy code example Example: pil image to numpy >>> pix = numpy.array(pic)