Skip to content

Commit f528c94

Browse files
committed
new examples
1 parent ea0c43b commit f528c94

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed
Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
11

2-
It uses `bind('<Configure>')` to run functions when window changed size. This function use `PIL`/`pillow` to genrate iamge in new size which is replaced in `Label`
2+
It uses `bind('<Configure>')` to run function when window changes size. This function uses module `PIL`/`pillow` to generate image with new size which is replaced in `Label`
33

44
---
55

66
Used Lena image:
77

8-
![#1](image.png?raw=true)
8+
![#0](image.png?raw=true)
99

1010
Source: [Wikipedia/Lena](https://en.wikipedia.org/wiki/Lenna)
11+
12+
---
13+
14+
`main.py` has the same code as `main-one-image.py`
15+
16+
17+
`main-one-image.py` displays one image
18+
19+
![#1](images/example-1.jpg?raw=true)
20+
21+
22+
`main-two-images.py` displays two images
23+
24+
![#2](images/example-2.jpg?raw=true)
25+
Loading
Loading

0 commit comments

Comments
 (0)