A
A
Andrei1penguin12021-05-19 23:02:06
Python
Andrei1penguin1, 2021-05-19 23:02:06

How to set an image object and not a link to it for the background of a widget in kivy?

Good day, the usual setting of the background in kivy is done via Rectangle(source="path/to/image/") , but I need to adjust the image dimensions using opencv before inserting it into the widget, therefore, I need to pass not the path to the Rectangle , but the image object itself
Please tell me how to do this?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question