pil save image as jpg code example
Example: pil save image
from PIL import Image
newImg1 = Image.new('RGB', (512,512))
newImg1.save("img1.png")
from PIL import Image
newImg1 = Image.new('RGB', (512,512))
newImg1.save("img1.png")