The attached patch partially fixes the problem. You will still need to
crop your image manually.
--
Jakub Wilk
diff --git a/fbgrab.c b/fbgrab.c
--- a/fbgrab.c
+++ b/fbgrab.c
@@ -121,7 +121,7 @@
(void) close(fd);
}
-static void read_framebuffer(char *device, size_t bytes, unsigned char *b
Package: fbgrab
Version: 1.0.0-4
Severity: important
I use framebuffer console and I want to take a screenshot with fbgrab. But the
it gives me garbase image.
In any tty
$ fbgrab fb.png
or
$ fbgrab -w 1440 -h 900 -b 32 fb.png
or
$ cp /dev/fb0 fb.dump
$ fbgrab -w 1440 -h 900 -b 32 -f fb.dump fb.p
2 matches
Mail list logo