Discussion:
[directfb-users] how to take screen shot with directfb
yangfengying
2012-04-21 02:17:41 UTC
Permalink
Hi : I am in the arm env without xorg, i want to take a screen shot with directfb, and i have only know screenshot-dir in directfbrc,
if there is no <Print> key, what can i do , Is there some interface in "DirectFB reference"
screenshot-dir=<directory>
If specified DirectFB will dump the screen contents in PPM format into this directory when the <Print> key gets pressed.Thanks!

BRs
Denis Oliver Kropp
2012-05-03 20:14:57 UTC
Permalink
I am in the arm env without xorg, i want to take a screen shot with directfb, and i have only know *screenshot-dir* in directfbrc*,
*
if there is no <Print> key, what can i do , Is there some interface in "DirectFB reference"
You could call IDirectFB::GetDisplayLayer(DLID_PRIMARY),
layer->GetSurface() and surface->Dump().
--
Best regards,
Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
Loading...