![]() |
#1 |
Connoisseur
![]() Posts: 98
Karma: 10
Join Date: Jul 2020
Device: The (orly) amazing Kindle Oasis 3
|
![]()
How can I specify that when a document is opened, the cover is saved as an image file with a fixed name?
|
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,741
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
I don't think you can. Is that an option in another program?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
It would be helpful if you could describe how you wanted to use the image/file. You can take a screenshot that will be saved as a .png, with a name Reader_date_time.
When you take a successful screenshot, you are given where the snapshot png is stored and offered an option to set it as the screensaver. (The option won't work if the OS on your device manages the screensaver function, like Android does on my note 2.) Luck; Ken |
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() Posts: 98
Karma: 10
Join Date: Jul 2020
Device: The (orly) amazing Kindle Oasis 3
|
![]()
Hello my friend.
![]() I want to make a screensaver from the cover. I have an android reader. I can then link to a picture as a screensaver. Best would be something like /koreader/currentcover.png or something like that. |
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() Posts: 98
Karma: 10
Join Date: Jul 2020
Device: The (orly) amazing Kindle Oasis 3
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
cosiñeiro
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,396
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
|
See https://github.com/koreader/koreader/issues/5732. It is a non-fixable thing.
You can, of course, hack the code to write the screensaver to a jpg/png file each time a new document is opened. I would suggest to develop that on the emulator, not directly on a android device. When you manage to modify the code you'll need to import your modified files in the program each time the program is updated. You can use a modified version of https://github.com/koreader/koreader...ation-patterns Last edited by pazos; 08-17-2020 at 12:56 PM. Reason: I have a problem writting "directly" |
![]() |
![]() |
![]() |
#7 | ||
Connoisseur
![]() Posts: 98
Karma: 10
Join Date: Jul 2020
Device: The (orly) amazing Kindle Oasis 3
|
![]() Quote:
Quote:
I'll have a look at the code, but I don't know any Lua. :/ Does KOReader create a log file with the last loaded file? A suggestion from me would be a script that is executed with every document load. |
||
![]() |
![]() |
![]() |
#8 | ||
cosiñeiro
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,396
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
Quote:
The scripts there are just for android and made sense because there's no easy way for users to customize the program on that platform. |
||
![]() |
![]() |
![]() |
#9 |
Connoisseur
![]() Posts: 98
Karma: 10
Join Date: Jul 2020
Device: The (orly) amazing Kindle Oasis 3
|
Ok the emulator is running.
![]() But you're right, Android doesn't take a changing image file as screensaver. |
![]() |
![]() |
![]() |
#10 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
I didn't know your Kindle PW2 was running under an Android OS, is that something you added yourself?
|
![]() |
![]() |
![]() |
#11 |
Connoisseur
![]() Posts: 98
Karma: 10
Join Date: Jul 2020
Device: The (orly) amazing Kindle Oasis 3
|
|
![]() |
![]() |
![]() |
#12 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() Posts: 128
Karma: 500
Join Date: Aug 2011
Device: kindle, boox
|
|
![]() |
![]() |
![]() |
#13 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,741
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
Cool. What do you use it for?
|
![]() |
![]() |
![]() |
#14 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() Posts: 128
Karma: 500
Join Date: Aug 2011
Device: kindle, boox
|
|
![]() |
![]() |
![]() |
#15 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,741
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
Parts of it would be theoretically quite simple, such as writing whatever you want as the screensaver to a file. But as @pazos said it's not quite clear to me if this isn't too low-level and device specific in a way that would require running the program as root. Please see https://github.com/koreader/koreader/issues/5732
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Use local file as cover image | jma1 | Recipes | 1 | 03-09-2020 11:14 AM |
AZW3 file loading incorrect cover in kindle | grapebasil | Library Management | 1 | 03-15-2018 07:41 PM |
Where else can a MOBI file have its cover image? | Alissa | Kindle Formats | 6 | 07-13-2013 02:50 PM |
Books loading into document file | Mumgod | Kindle Fire | 14 | 02-07-2012 05:37 AM |
Document converter (to pdf or image file) | Bob Russell | Lounge | 1 | 09-09-2004 04:01 PM |