I am running a program where i am showing a .gif image in a widget and it works perfectly well however when i run this app using kivy launcher the .gif image comes with a square box even when the Image is without a backgrund .
Any one any ideas , why this is behaving differently on android and windows .
Please see below .kv code as an example of how i used .gif image . I am using this .gif image as a button .
canvas.before:
Color:
rgb: (0, 0, 1)
PushMatrix
Rotate:
axis: 0,0,1
angle: 20
origin: self.center
source: "images/butterflybluex.gif"
canvas.after:
PopMatrix
...
解决方案
First make sure that you package pil/pillow [just add it to one of the requirements while building the apk] for gif loading, otherwise a pure