import PIL import numpy from PIL import Image im ... array is a numpy array image2 = Image.fromarray(array) # image2 is a PIL image.
確定! 回上一頁