Answers for "save np array with pillow"

0

save numpy arrayw with PIL

from PIL import Image
im = Image.fromarray(A)
im.save("your_file.jpeg")
Posted by: Guest on April-18-2021

Python Answers by Framework

Browse Popular Code Answers by Language