save numpy arrayw with PIL code example Example: save numpy arrayw with PIL from PIL import Image im = Image.fromarray(A) im.save("your_file.jpeg")