Tom Bridgwater wrote: > Just add a "screenshot-dir" setting in /etc/directfbrc to tell it where > to place the file (e.g. "screenshot-dir=/tmp") and then press the > Print-Screen button on your keyboard. You'll get sequentially-numbered > PPM files in that directory each time you hit Print-Screen. If you don't > want PPM files (http://netpbm.sourceforge.net/doc/ppm.html), use Gimp to > open them and re-save them to another format.
Or use pnmtopng, which is in the netpbm package. You can also make screenshots of individual windows, by holding down the Meta key when pressing Print. It will create a PPM file and if the window has an alpha channel it will additionally create a PGM file containing the alpha values as a gray scale image. You can convert these two files to one PNG file (with alpha channel) using e.g.: pnmtopng -a dfb_window_0000.pgm dfb_window_0000.ppm > dfb_window_0000.png -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
