+ 2
How to add a picture in kivy?
is there a way i can add a picture to a kivy gui program. i have tried a lot of things and i can not get anything to work for me.
1 ответ
+ 2
You can add a picture simply in your kv file:
Image:
source:'img.png'
or you can add image in python:
img = Image(source = 'img.png')
read kivy documentation for more details:
https://kivy.org/doc/stable/api-kivy.uix.image.html
There's another way to add photo, too but it should work for you.