save numpy arrayw with PIL

34

save numpy arrayw with PIL -

from PIL import Image
im = Image.fromarray(A)
im.save("your_file.jpeg")

Comments

Submit
0 Comments