Answers for "what is using pil to load jpg"

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
3

PIL image example

>>> from PIL import Image
>>> im = Image.open("image.jpg")
>>> im.show()
Posted by: Guest on June-12-2020

Python Answers by Framework

Browse Popular Code Answers by Language