fix image url in "Reading from URL" example

This commit is contained in:
Nulano 2024-01-01 18:06:46 +01:00
parent 7c526a6c6b
commit de62b25ed3

View File

@ -542,7 +542,7 @@ Reading from URL
from PIL import Image from PIL import Image
from urllib.request import urlopen from urllib.request import urlopen
url = "https://python-pillow.org/images/pillow-logo.png" url = "https://python-pillow.org/assets/images/pillow-logo.png"
img = Image.open(urlopen(url)) img = Image.open(urlopen(url))