Hi @peter, any thoughts on this?
Awhile back, when I was first working on the Big Temp mod, I had a custom background of an animated gif. This worked for me for quite awhile until I upgraded my version of the Raspbian OS. I’m on Bookworm now, and can’t get a gif to load. I can load a png, but not the animated gif.
Here is the code I’m using for the png. When I replace the file with a .gif, I get the error.
The error just says “[ERROR ] [Image ] Error loading <user/RadarGIF/radar.gif>”
The file is present and when it can’t find the file, it says Not found.
customPanels.kv
:
PanelBackground:
_panelTitle: ‘RadarGIF’
Image:
id: RadarGIFBackground
source: ‘user/RadarGIF/radar.png’
size_hint: (1,1)
keep_ratio: 1
allow_stretch: 0
:
PanelButton:
text: ‘RadarGIF’
on_release: app.CurrentConditions.switchPanel(self)
customPanel.py
class RadarGIFPanel(panelTemplate):
def init(self, **kwargs):
super().init(**kwargs)
Clock.schedule_interval(self.updateImage, 600)
def updateImage(self,dt):
self.ids.RadarGIFBackground.reload()
class RadarGIFButton(RelativeLayout):
pass
-rw-r–r-- 1 pi pi 414744 Apr 13 16:40 radar.gif