mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
Comment out lena() caching
This commit is contained in:
parent
4ab5b6c583
commit
40ada60cec
|
@ -172,6 +172,7 @@ def tostring(im, format, **options):
|
||||||
def lena(mode="RGB"): # , cache={}):
|
def lena(mode="RGB"): # , cache={}):
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
# im = cache.get(mode)
|
# im = cache.get(mode)
|
||||||
|
im = None
|
||||||
if im is None:
|
if im is None:
|
||||||
if mode == "RGB":
|
if mode == "RGB":
|
||||||
im = Image.open("Images/lena.ppm")
|
im = Image.open("Images/lena.ppm")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user