I know I can capture the framebuffer in linux using something like
cp /dev/fb0 ~/myimage and re-display that by coping back to the device like so
cp ~/myimage /dev/fb0. What format is the framebuffer image data in? and how would I go about displaying a pre-made image (jpg, png) to the framebuffer? Can I convert to this format using imagemagick?
p.s. Im using a raspberry pi running raspbian.
I ended up using pygame to display images in my application. Not sure if this uses the frame-buffer to display the images. But it meets my needs quite well.