cours-snt/photo numérique/python/main.py
2022-10-25 14:26:36 +02:00

9 lines
130 B
Python

from PIL import Image
img = Image.open('pomme.jpg')
for y in range(img.height):
img.putpixel((250,y),(255,0,0))
img.show()