Skip to content

Commit f3633e4

Browse files
committed
add changes new tutorials
1 parent 9517f00 commit f3633e4

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

python-tutorials/blackandwhite.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from PIL import Image
2+
3+
img = Image.open("buzz.png")
4+
pretoebranco = img.convert("L")
5+
pretoebranco.save("pretoebrancobuzz.png")
6+
pretoebranco.show()

python-tutorials/pretoebranco.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66

77
img = Image.open("buzz.png")
88
blackandwrite = img.convert("L")
9-
blackandwrite.save("bw_buzz.png")
9+
blackandwrite.save("bw_buzz2.png")
1010
blackandwrite.show()
426 KB
Loading

0 commit comments

Comments
 (0)