LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   directfb screenshot (https://www.linuxquestions.org/questions/programming-9/directfb-screenshot-648796/)

HarryBoy 06-12-2008 08:32 AM

directfb screenshot
 
I have posted this message in 'Newbie' but I think it should be here:

I am using directfb (C++) and need to get a screenshot of what is being displayed on the framebuffer device?

How can I do this? Is there a function I can call to do this?

I read somewher that if you put an image on the frame buffer can you get a copy by dumping “/dev/fbX”? - how do I do this?

Thanks

matthewg42 06-12-2008 10:23 AM

Not sure about a direct screenshot. One ugly method would be to run your program in a virtual machine, and take a screenshot of the vm.

matthewg42 06-12-2008 10:24 AM

Then I found a program called fbgrab. That might do it.


All times are GMT -5. The time now is 04:29 PM.