mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
fix image url in "Reading from URL" example
This commit is contained in:
parent
7c526a6c6b
commit
de62b25ed3
|
@ -542,7 +542,7 @@ Reading from URL
|
|||
|
||||
from PIL import Image
|
||||
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))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user