8 lines
196 B
Python
8 lines
196 B
Python
from PIL import Image
|
|
img = Image.open("Bordeaux.jpeg")
|
|
img_zone = img.crop((120, 210, 510, 280))
|
|
img_zone.save('photo.jpeg', 'jpeg')
|
|
img_zone.show()
|
|
print(img.format, img.size, img.mode)
|
|
|