numpy.array(im) — makes a copy from an image to a NumPy array. numpy.asarray(im) ... def tobytes(self): self.load() # unpack data e = Image.
確定! 回上一頁