REQUIREMENT
I\'m trying to retrieve an image from Database and set this image to kivy image widget, this operation throws a ValueError, unsure of the ca
After execution of io.BytesIO()
, data
is in Bytes. Use Kivy CoreImage and texture
to convert data
.
Replace
self.image.source = data
with:
self.image.texture = CoreImage(data, ext="png").texture
Image source
source
Filename / source of your image.
source is a StringProperty and defaults to None