0

Help me with that code, it's not running on my phone

#Convert Image Into black And white from PIL import image #pip install Pillow img= Image.open("kakashi.png") blackAndWhite = img.convert ("L") blackAndWhite.save(' bw_kakashi.png') blackAndWhite.show( )

27th Dec 2020, 4:09 PM
Abdulwahab Abdulgafar Amoo
Abdulwahab Abdulgafar Amoo - avatar
2 Antworten
+ 1
I don't think you can install and import libraries like PIL in the code playground. If you want this to work, I would recommend you to try it out on a computer.
27th Dec 2020, 4:17 PM
Apollo-Roboto
Apollo-Roboto - avatar
0
Thanks
30th Dec 2020, 6:28 PM
Abdulwahab Abdulgafar Amoo
Abdulwahab Abdulgafar Amoo - avatar