save numpy array as image python
from PIL import Image im = Image.fromarray(A) im.save("your_file.jpeg")
Source: stackoverflow.com
from PIL import Image im = Image.fromarray(A) im.save("your_file.jpeg")