Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.



Update 11-12-2012

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.

share|improve this question

2 Answers 2

Have you tried Fbida?

fbida contains fbi, an image viewer for the framebuffer.

Link to fbi man page - http://manpages.ubuntu.com/manpages/lucid/man1/fbi.1.html

P.S - I am not sure whether it will work in Raspbian.

share|improve this answer
    
Unfortunately it doesn't seem to be possible to prevent 'fbi' from displaying a status bar at the bottom of the screen. This is a bit of a showstopper for various applications... –  Jules May 23 '13 at 7:46
1  
@Jules On Debian 8 (testing), there is a -noverbose option which makes it display just the image itself; however, this is not documented in the man page, but is only in the "usage:" for the it. –  Abbafei Jun 23 '13 at 8:32
    
Does it work? I previously built a copy from the source on the author's web page, and that did have the option, but the option did not seem to actually do anything at all in that version. –  Jules Jun 27 '13 at 16:54
    
@Jules -noverbose works for me using fbi on raspbian when I installed it using apt-get install fbi. –  D. Woods Jul 30 '13 at 9:12

it might help you, detailed manual http://hacklab.cz/2012/04/22/usefulness-linux-framebuffer-virtual-console I think it has all in one place about Linux Framebuffer

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.