Skip to content

Commit b162c43

Browse files
start 22
1 parent 1eec672 commit b162c43

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

22.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
from PIL import Image, ImageDraw
2+
3+
4+
def main():
5+
im, width, height = first_step()
6+
second_step(im, width, height)
7+
8+
9+
def first_step():
10+
im = Image.open("copper/white.gif")
11+
size = im.size
12+
width = size[0]
13+
height = size[1]
14+
return im, width, height
15+
16+
17+
def second_step(im, width, height):
18+
pass
19+
20+
21+
if __name__ == "__main__":
22+
main()

copper/white.gif

38.1 KB
Loading

0 commit comments

Comments
 (0)