View Single Post
Old 10-14-2016, 08:25 AM   #424
trewelu
Enthusiast
trewelu invented the internet.trewelu invented the internet.trewelu invented the internet.trewelu invented the internet.trewelu invented the internet.trewelu invented the internet.trewelu invented the internet.trewelu invented the internet.trewelu invented the internet.trewelu invented the internet.trewelu invented the internet.
 
Posts: 42
Karma: 84358
Join Date: Sep 2016
Device: Sony PRS-T2, Kindle PaperWhite 2013, Pocketbook InkPad2.
Quote:
Originally Posted by rkomar View Post
I don't think the library software knows how to handle cbz/cbr files in terms of cover images. So, changing the file extension to cbz probably wouldn't make it more likely for a cover image to be generated. Does your epub have a cover defined in it? It should have worked if that was the case.
I did some experiment regarding the cover.

If you put a png image on following path (where 1 is internal storage, and very large number for sdcard, and yes there is typo on chache)

Code:
internal memory/InkPad 2/system/cover_chache/1/books/sample.cbz.png
and put the book on

Code:
internal memory/InkPad 2/books/sample.cbz
,
it will display the cover in library menu.

Here are the screenshot and the file I used for experiment.



Calibre didn't send/create that file if you send cbz to the device. I'm not sure how complex it is, if after opening up a cbz/cbr,or any recognisable file for pbimageviewer, the app resize the first image and save it as png on that directory. So far the cache on my folder has 614px height, although some are smaller.

Recent read and recent book cache is in different folder, they use:
Code:
internal memory/InkPad 2/system/cache/desktop/cache.dat
rb denote recent book opened, and t denote recent book added. I successfully copied a thumbnail and put it with 1.png to display that as the first recent book thumbnail on the home screen. However, when I select different book, the system regenerate rb thumbnail from 1-9. The file that I copied as 1.png got removed and not renamed to 2.png. So the app potentially could set the most recent book thumbnail image after opening up a book. But if another book is selected, that image will get lost.

If I have time I will try play around with the code to see whether it can be done from the app.
Attached Thumbnails
Click image for larger version

Name:	scr0011.png
Views:	545
Size:	56.5 KB
ID:	152366   Click image for larger version

Name:	scr0012.png
Views:	487
Size:	34.3 KB
ID:	152367  

Last edited by trewelu; 10-14-2016 at 08:33 AM.
trewelu is offline   Reply With Quote