pillow read from ndarray code example Example: pillow read from ndarray from PIL import Image im = Image.fromarray(np.uint8(myarray))