Python Crie um novo arquivo PNG
from pil import Image
def newImg():
img = Image.new('RGB', (100, 100))
img.putpixel((30, 60), (155, 155, 55))
img.save(r'C:\Users\lenovo\Desktop\sqr.png')
return img
newImg()
Mehmet Kucak