mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Removed unused file
This commit is contained in:
parent
c06a0e816a
commit
a0d7282ea7
|
@ -1,14 +0,0 @@
|
|||
from PIL import Image, ImageFont, ImageDraw
|
||||
|
||||
font = "../pil-archive/memory-error-2.ttf"
|
||||
|
||||
s = "Test Text"
|
||||
f = ImageFont.truetype(font, 64, index=0, encoding="unicode")
|
||||
w, h = f.getsize(s)
|
||||
i = Image.new("RGB", (500, h), "white")
|
||||
d = ImageDraw.Draw(i)
|
||||
|
||||
# this line causes a MemoryError
|
||||
d.text((0, 0), s, font=f, fill=0)
|
||||
|
||||
i.show()
|
Loading…
Reference in New Issue
Block a user