I'm looking for a python module which can display jpg
or png
file to /dev/fb0
directly.
I hope the the module can call and display the picture on screen by like this:
show_photo(path_to_jpg, x, y, dev='/dev/fb0')
I had searched such kind of python module on google for several days, and I found the link: [Module] Python Frame Buffer, but the website was not found.
Now, I'm using C program and call by os.system()
function, and it is too slow. Does there has a python module which can show the picture directly to frame buffer, and support static picture, marquee? It will be better if the module also support playing video file like mplayer
.
fbi
player followed bypkill fbi
does what you want. Both would be external processes to launch. You say you write C and ask for python - not sure I understand, but I don't think python has anything for this out of the box. – Finny