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