I have managed to display an image on the screen attached to my pi using FBI with the command sudo fbi -a -noverbose -T 2 /home/pi/image.jpeg, however it seems to cause some issues where it crashes the Desktop/cli of the pi with the following error on a black screen:
map: vt02 => fbo
Oops: Interrupt
map: vt02 => fbo
map: vt02 => fbo
Oops: Interrupt
map: vt02 => fbo
map: vt02 => fbo
It seems to mainly happen if I run the command above multiple times without sudo killall -2 fbi in between, however sometimes it just happens anyway.
I have also tried to use pillow and Wand but pillow doesn't work at all and neither work in cli only mode:
from wand.image import Image
from wand.display import display
with Image(filename='/home/pi/image.jpeg') as img:
display(img)
Is there a way I can fix or tame fbi and is there a way I can programatically use this from Python reliably? There's just one image I want to display and I don't need to manipulate it or anything so my requirements are quite straightforward. Thanks!
Edit: The purpose of displaying the image is as a splash/loading screen whilst my Kivy app builds, so whatever solution I go with needs to be non-blocking and ideally as straightforward as possible