Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 265 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 265 Bytes

usage:

from PIL import Image
import requests

url = "https://sueszli.github.io/datasets/cat_1966.jpeg"
img = Image.open(requests.get(url, stream=True).raw).convert("RGBA")
img = img.crop((0, img.height - img.width, img.width, img.height))
img.show()