Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 07-27-2014, 12:55 PM   #16
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
I tweaked my FBGrab build, it should now handle Kobo devices properly.

It generates PNG files, which are far easier to work with .

tshering tested it on a Touch, give me a shout if it's broken on other devices.
NiLuJe is offline   Reply With Quote
Old 09-19-2014, 05:34 PM   #17
nomeata
Member
nomeata began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Aug 2014
Device: Kobo Aura HD
I modified the code from the first post to work with a framebuffer dump from my Aura HD:

Code:
#!/usr/bin/perl -w

$w = shift || 1088;
$h = shift || 1440;
$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);
$x = $short % 256;
print OUT pack("C3", $x, $x, $x);
}

close OUT;
There is a 8 pixel wide border outside the screen; my code does not cut that off, but it is good enough for a quick screenshot or to get debug information.
nomeata is offline   Reply With Quote
Old 11-19-2014, 10:54 AM   #18
scoky
Connoisseur
scoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy bluescoky can differentiate black from dark navy blue
 
Posts: 62
Karma: 13112
Join Date: Feb 2013
Device: Kindle Paperwhite; KOBO AURA HD
Quote:
Originally Posted by NiLuJe View Post
I tweaked my FBGrab build, it should now handle Kobo devices properly.

It generates PNG files, which are far easier to work with .

tshering tested it on a Touch, give me a shout if it's broken on other devices.
Nice work! It can be used in Kobo Aura HD with PW2 version. Thanks
scoky is offline   Reply With Quote
Old 05-12-2017, 08:13 AM   #19
chrisridd
Guru
chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.
 
chrisridd's Avatar
 
Posts: 977
Karma: 2209358
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, PocketBook InkPad Color 3
I know this is an old thread, but I wanted to note that this still works on the KA1 running 4.4.9298 firmware.

The saved screenshots are now in PNG format.
chrisridd is offline   Reply With Quote
Old 08-29-2022, 04:18 AM   #20
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
I saw a color screenshot of the homescreen posted here in the forum.

How do we do that? The book covers are in color.
Deobulakenyo is offline   Reply With Quote
Old 08-29-2022, 04:33 AM   #21
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,635
Karma: 145864617
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Deobulakenyo View Post
I saw a color screenshot of the homescreen posted here in the forum.

How do we do that? The book covers are in color.
The screen is grayscale. But behind the screen if something is in color, a screenshot will be in color.
JSWolf is offline   Reply With Quote
Old 08-29-2022, 08:00 AM   #22
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Quote:
Originally Posted by JSWolf View Post
The screen is grayscale. But behind the screen if something is in color, a screenshot will be in color.


This book covers are in color in Calibre. Does Calibre convert them to grayscale?
Attached Thumbnails
Click image for larger version

Name:	screen_041.png
Views:	595
Size:	950.6 KB
ID:	196157  
Deobulakenyo is offline   Reply With Quote
Old 08-29-2022, 08:36 AM   #23
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Deobulakenyo View Post
This book covers are in color in Calibre. Does Calibre convert them to grayscale?
It does whatever you have configured the calibre driver (KOBOTOUCH or KOBOTOUCHEXTENDED) to do. Have a look at the 'Collections, covers & uploads' tab.

There's a similar option in the 'Kobo Utilities' calibre plugin for the option 'Upload covers for selected books'.
jackie_w is offline   Reply With Quote
Old 08-29-2022, 09:02 AM   #24
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,635
Karma: 145864617
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Deobulakenyo View Post
This book covers are in color in Calibre. Does Calibre convert them to grayscale?
In the KoboTouchExtended driver under the Collections, covers & uploads tab, you have Upload covers and Upload black and white covers both checked.

That does the converting to grayscale and dithering and uploads the cover thumbnails.
JSWolf is offline   Reply With Quote
Old 08-30-2022, 03:20 AM   #25
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Quote:
Originally Posted by JSWolf View Post
In the KoboTouchExtended driver under the Collections, covers & uploads tab, you have Upload covers and Upload black and white covers both checked.

That does the converting to grayscale and dithering and uploads the cover thumbnails.


Quote:
Originally Posted by jackie_w View Post
It does whatever you have configured the calibre driver (KOBOTOUCH or KOBOTOUCHEXTENDED) to do. Have a look at the 'Collections, covers & uploads' tab.

There's a similar option in the 'Kobo Utilities' calibre plugin for the option 'Upload covers for selected books'.


That is the thing, both my kobo touch and kobotouch extended settings are set like this, so it should take color screenshot but still B&W screenshots are produced.
Attached Thumbnails
Click image for larger version

Name:	Untitled.jpg
Views:	565
Size:	148.0 KB
ID:	196169  
Deobulakenyo is offline   Reply With Quote
Old 08-30-2022, 04:32 AM   #26
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,635
Karma: 145864617
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Deobulakenyo View Post
That is the thing, both my kobo touch and kobotouch extended settings are set like this, so it should take color screenshot but still B&W screenshots are produced.
What happens if you take a screenshot of the cover that's in the eBook? That should not have been converted to grayscale and should still be in color.
JSWolf is offline   Reply With Quote
Old 08-30-2022, 06:07 AM   #27
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Quote:
Originally Posted by JSWolf View Post
What happens if you take a screenshot of the cover that's in the eBook? That should not have been converted to grayscale and should still be in color.
They are in color.

But Homescreen covers are in grayscale
Attached Thumbnails
Click image for larger version

Name:	screen_044.jpg
Views:	560
Size:	211.5 KB
ID:	196171  
Deobulakenyo is offline   Reply With Quote
Old 08-30-2022, 08:30 AM   #28
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,635
Karma: 145864617
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Deobulakenyo View Post
They are in color.

But Homescreen covers are in grayscale
I suggest you ask in the KoboTouchExtended thread if it's maybe a bug and it's converting to grayscale anyway. But before you do that, I suggest plugging in your Kobo and having a look at the thumbnails and see if they are color or grayscale.
JSWolf is offline   Reply With Quote
Old 08-30-2022, 10:46 AM   #29
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Quote:
Originally Posted by JSWolf View Post
I suggest you ask in the KoboTouchExtended thread if it's maybe a bug and it's converting to grayscale anyway. But before you do that, I suggest plugging in your Kobo and having a look at the thumbnails and see if they are color or grayscale.
Thumbnails are all in color
Deobulakenyo is offline   Reply With Quote
Old 08-30-2022, 07:26 PM   #30
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,635
Karma: 145864617
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Deobulakenyo View Post
Thumbnails are all in color
Maybe it's a change in the firmware that the home screen screen caps are not in color.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 02:00 PM.


MobileRead.com is a privately owned, operated and funded community.