Thanks to this link: http://www.cnx-software.com/2010/07/...er-screenshot/
we can make screenshot from our Kobo screen.
* requires telnet
run this command:
get the screen.raw via ftp to you local computer that's running PERL.
Create a new perl script with this contents:
Chmod +x FILE.sh
after that run this:
change the resolution to your Kobo screen (I have a kobo Glo)
And there you go, screen.png contains you Kobo Sreenshot.
we can make screenshot from our Kobo screen.
* requires telnet
run this command:
Code:
cat /dev/fb0 > screen.raw
Create a new perl script with this contents:
Code:
#!/usr/bin/perl -w
$w = shift || 240;
$h = shift || 320;
$pixels = $w * $h;
open OUT, "|pnmtopng" or die "Can't pipe pnmtopng: $!\n";
printf OUT "P6%d %d\n255\n", $w, $h;
while ((read STDIN, $raw, 2) and $pixels--) {
$short = unpack('S', $raw);
print OUT pack("C3",
($short & 0xf800) >> 8,
($short & 0x7e0) >> 3,
($short & 0x1f) << 3);
}
close OUT;
after that run this:
change the resolution to your Kobo screen (I have a kobo Glo)
Code:
./FILE.SH 1024 758 < screen.raw > screen.png