|
|
#1 |
|
Enthusiast
![]() ![]() ![]() Posts: 49
Karma: 206
Join Date: Nov 2012
Device: Kobo Glo
|
Take screenshot from Kobo
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 Last edited by koenieee; 01-04-2013 at 04:37 AM. |
|
|
|
|
|
#2 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 149
Karma: 1000036
Join Date: Oct 2008
Location: Calgary, Alberta
Device: iPod Touch,iPhone3GS/4, Nook Colour, Kobo Touch, Kobo Glo, Nexus 7
|
Good one!
__________________
Cheers, Ronin |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 160
Karma: 1051770
Join Date: Jul 2012
Device: Kobo Glo, Kobo Touch
|
Someone with telnet set up, you could use this technique to determine the Kobo Glo's maximum native image size and forward this information onto the Calibre developers in order to create an optomized Kobo Glo output profile.
|
|
|
|
|
|
#4 | |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 40
Karma: 8604
Join Date: Dec 2012
Location: Germany
Device: Kobo Touch
|
I'm triggering the following script via an integrated webserver on the kobo touch... screenshots directly to the desktop ^^
Quote:
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Taking a screenshot on Kindle 4 | Blog Kindle | Amazon Kindle | 2 | 10-06-2012 01:44 PM |
| ssknap (v1) - screenshot as screensaver | fbdev | Kindle Developer's Corner | 6 | 10-22-2011 09:41 PM |
| Post a screenshot of your desktop. | KryptoNyte | Nook Developer's Corner | 103 | 07-09-2011 04:48 PM |
| DR800 screenshot | madusaya | iRex | 5 | 04-29-2010 06:31 PM |
| Screenshot Capability? | wallcraft | OpenInkpot | 4 | 12-31-2008 01:41 PM |