LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-12-2008, 08:32 AM   #1
HarryBoy
Member
 
Registered: Apr 2008
Distribution: MontaVista Linux Version 4.0.1, Professional Edition
Posts: 215

Rep: Reputation: 16
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
 
Old 06-12-2008, 10:23 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
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.
 
Old 06-12-2008, 10:24 AM   #3
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Then I found a program called fbgrab. That might do it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Screenshot of directfb output HarryBoy Linux - Newbie 1 06-12-2008 01:43 PM
Evolution porting on DirectFB chaitral Linux - Newbie 0 04-15-2008 01:16 AM
Problem with directfb-fusion. Lockywolf Slackware 2 07-22-2007 11:26 AM
Disfunctional DirectFB-0.9.25 and 1.0.0 basileus Linux - General 1 05-25-2007 01:39 AM
What is DirectFB Kocil Linux - Software 5 01-23-2004 08:25 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration