What do you want to save?
Add Code snippet
New code examples
-
-
-
-
-
-
-
Python 2021-10-20 03:46:05
crop image python
from PIL import Image # import pillow library (can install with "pip install pillow") im = Image.open('card.png') im = im.crop( (1, 0, 826, 1125) ) # previously, image was 826 pixels wide, cropping to 825 pixels wide im.save('card.png') # saves ... Add solution -
Best helpers
Ranking is empty