
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.armadeus.org/wiki/index.php?action=history&amp;feed=atom&amp;title=FBGrab</id>
		<title>FBGrab - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.armadeus.org/wiki/index.php?action=history&amp;feed=atom&amp;title=FBGrab"/>
		<link rel="alternate" type="text/html" href="http://www.armadeus.org/wiki/index.php?title=FBGrab&amp;action=history"/>
		<updated>2026-04-30T02:29:56Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.3</generator>

	<entry>
		<id>http://www.armadeus.org/wiki/index.php?title=FBGrab&amp;diff=4255&amp;oldid=prev</id>
		<title>JulienB: creation</title>
		<link rel="alternate" type="text/html" href="http://www.armadeus.org/wiki/index.php?title=FBGrab&amp;diff=4255&amp;oldid=prev"/>
				<updated>2008-06-06T20:24:11Z</updated>
		
		<summary type="html">&lt;p&gt;creation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Introduction==&lt;br /&gt;
FBGrab is a framebuffer screenshot program, capturing the Linux framebuffer and converting it to a png-picture.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
 [host] $ make menuconfig &lt;br /&gt;
* then choose '''fbgrab''' in:&lt;br /&gt;
[[Image:Menuconfig_package.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Menuconfig_package_graphics.png]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
* Just do:&lt;br /&gt;
 # fbgrab toto.png&lt;br /&gt;
* Here is the full man page:&lt;br /&gt;
 NAME&lt;br /&gt;
       fbgrab - takes screenshots using the framebuffer device&lt;br /&gt;
 &lt;br /&gt;
 SYNOPSIS&lt;br /&gt;
        fbgrab [options] filename&lt;br /&gt;
 &lt;br /&gt;
 DESCRIPTION&lt;br /&gt;
       fbgrab  reads  the framebuffer device (/dev/fb*) or a dump thereof and saves a PNG image file. You can use it for making screen‐&lt;br /&gt;
       shots of of virtually any application, from traditional test applications to your X-windows  desktop,  as  well  as  framebuffer&lt;br /&gt;
       applications.&lt;br /&gt;
 &lt;br /&gt;
 OPTIONS&lt;br /&gt;
       -?     print usage information.&lt;br /&gt;
 &lt;br /&gt;
       -b bitdepth&lt;br /&gt;
              the number of bits per pixel used, optional when reading from device.&lt;br /&gt;
 &lt;br /&gt;
       -c console&lt;br /&gt;
              specifies  which  console (or virtual terminal - like other people call this feature) to grab. Sometimes this changing is&lt;br /&gt;
              faster then the framebuffer is refreshed (especially when grabbing framebuffer apps). If so, you should  use  -C  console&lt;br /&gt;
              ... This waits some time before grabbing. You can’t use -s in this case.&lt;br /&gt;
 &lt;br /&gt;
       -d device&lt;br /&gt;
              specifies  which  framebuffer  device you want to read. If you do not use this option, it takes the value from the FRAME‐&lt;br /&gt;
              BUFFER environment variable. If no FRAMEBUFFER environment variable is given or if its value is NULL, then DEFAULT_FB  is&lt;br /&gt;
              taken. (see source code), which usually is /dev/fb0.&lt;br /&gt;
 &lt;br /&gt;
       -f filename&lt;br /&gt;
              Read from from file instead of device, requires that -w (width), -h (height) and -b (bitdepth) are specified.&lt;br /&gt;
 &lt;br /&gt;
       -h height&lt;br /&gt;
              the height of the frambeuffer in pixels, optional when reading from device.&lt;br /&gt;
 &lt;br /&gt;
       -i     turns off interlacing. If you do not want ADAM7 interlacing, you should use the -i option.&lt;br /&gt;
 &lt;br /&gt;
       -s seconds&lt;br /&gt;
              specifies  how  many  seconds to wait before grabbing. fbgrab does not lock console switching, so you can switch it while&lt;br /&gt;
              waiting, if you cannot use -c requires normally that fbgrab is run as root.&lt;br /&gt;
 &lt;br /&gt;
       -w width&lt;br /&gt;
              the width of the frambeuffer in pixels, optional when reading from device.&lt;br /&gt;
 &lt;br /&gt;
 TODO&lt;br /&gt;
       * Low-end bit depths, eg 1, 2, 4 &amp;amp; 8 bits.&lt;br /&gt;
 &lt;br /&gt;
       * Grab just part of framebuffer/file.&lt;br /&gt;
 &lt;br /&gt;
       * Companion program fbput that would display a picture in the frambuffer.&lt;br /&gt;
 &lt;br /&gt;
       * Better utilization of the PNG-lib, all formats are first converted to 32 bitdepth and then stored as PNG -  hardly  the  right&lt;br /&gt;
       approach.&lt;br /&gt;
 &lt;br /&gt;
 BUGS&lt;br /&gt;
       Some framebuffer seams to store the data for one fixed resolution even if the resolution is set to  something  lower.  In  these&lt;br /&gt;
       cases the fixed size has to be specified and the picture has to be cut in a separate program afterwards.&lt;br /&gt;
 &lt;br /&gt;
 EXAMPLES&lt;br /&gt;
       fbgrab fb.png&lt;br /&gt;
 &lt;br /&gt;
       will take a framebuffer snapshot, or if you don’t have fbgrab at your machine, you can do&lt;br /&gt;
 &lt;br /&gt;
       cat /dev/fb0 &amp;gt; framebuffer.dump&lt;br /&gt;
 &lt;br /&gt;
       and then&lt;br /&gt;
 &lt;br /&gt;
       fbgrab -w 1024 -h 768 -b 16 -f framebuffer.dump fb.png&lt;br /&gt;
 &lt;br /&gt;
       to convert it to a picture.&lt;br /&gt;
 &lt;br /&gt;
 AUTHOR&lt;br /&gt;
       Written by Gunnar Monell &amp;lt;gmo@linux.nu&amp;gt;.  Basically a rewrite of fbshot by Stephan Beyer &amp;lt;fbshot@s-beyer.de&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 COPYRIGHT (C)&lt;br /&gt;
       (C) 2002 Gunnar Monell &amp;lt;gmo@linux.nu&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
       (C) 2000 Stephan Beyer &amp;lt;fbshot@s-beyer.de&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
       This  program  is  free  software; you can redistribute it and/or modify it under the terms of the GNU General Public License as&lt;br /&gt;
       published by the Free Software Foundation; either version 2 of the License.&lt;br /&gt;
 &lt;br /&gt;
       This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied  warranty  of&lt;br /&gt;
       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.&lt;br /&gt;
 &lt;br /&gt;
       You  should  have  received a copy of the GNU General Public License along with this program; if not, write to the Free Software&lt;br /&gt;
       Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.&lt;br /&gt;
 &lt;br /&gt;
==Links==&lt;br /&gt;
* [http://hem.bredband.net/gmogmo/fbgrab/ FBGrab HomePage]&lt;br /&gt;
&lt;br /&gt;
[[Category:Framebuffer]]&lt;/div&gt;</summary>
		<author><name>JulienB</name></author>	</entry>

	</feed>