Answers for "pil save image from array"

0

pil save image

from PIL import Image

newImg1 = Image.new('RGB', (512,512))
newImg1.save("img1.png")
Posted by: Guest on May-12-2021
7

pil image to numpy array

>>> pix = numpy.array(pic)
Posted by: Guest on June-17-2020

Python Answers by Framework

Browse Popular Code Answers by Language