![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 349476
Join Date: Jul 2012
Device: Kobo touch
|
Cover image frustrations
Apologies, as this is a bit more of a rant than a question, though there is a question at the end.
I use my kobo purely for reading epubs, and have been a bit frustrated by the bug whereby any the cover image for the book is squeezed horizontally and has two white margins added to it. I even tried stretching the covers horizontally in the epub so that when they get squeezed they should revert to normal, but that didn't work. In the end, I wrote a script that generated covers for each book, and replaced them in the kobo image directory so the kobo wouldn't generate new covers and just use the ones I created. All was well, until my library grew to around 3000 books. Now, when I create all the files that are needed (4 for each book, I believe), the device runs out of inodes. This means that I am back with ugly squeezed covers, despite the fact that my library is under 1GB (with both books and covers). Is there another fix for this that I am not recognising? For example, is it possible to reformat the kobo drive to ext3 so I can hardlink all the cover files to one image, thus saving inodes? Or does anyone know if this is even on kobo's radar to fix. |
![]() |
![]() |
![]() |
#2 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
As to the files you are generating, what firmware version are you using? Pre 2.0.0 generated four or five cover sizes. 2.0.0 used two or three depending on some options. 2.1.4 and later uses up to three: - N3_FULL is used for the Home screen and screensaver. - N3_LIBRARY_GRID is used for the library lists - N3_LIBRARY_FULL is used for the details screen There is no way to open a book without having the first two. The last only gets generated when you visit the details page of a book. If you don't do that, you don't need to create it. If you use calibre, the Kobo Touch driver has options to send the cover images as well. It will stretch the covers. But, it will send all three. Quote:
I don't know if using ext3 is possible. I am sure I have seen a post somewhere here about someone trying, but I don't remember if they were successful. I don't know if Kobo have it on their bug list as this is the first time I have seen this reported. Or at least the inodes part. The cover image size is not a bug but working as designed. Personally, I'd be unhappy if they changed it. |
|||
![]() |
![]() |
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,272
Karma: 78869092
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
I do recall from earlier threads people running into a limit of how many images were supported on the Touch; this was however from a pre 2.0 firmware if I remember correctly.
I wonder how this might have affected the person who had wanted to load his 30000 books onto an SD card before heading off to Thailand I think it was... I also wonder whether the Kobo would be able to handle the images in different directories? Maybe a simple perl (or python) script that would move images to a sub-directory of .kobo/images and update the ImageID column for each book to add in that sub directory. I'll probably experiment this weekend to see what happens..... |
![]() |
![]() |
![]() |
#4 | ||
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 349476
Join Date: Jul 2012
Device: Kobo touch
|
Quote:
Quote:
I am using 2.1.5. The reason I was thinking it is a bug is that the image is already the right size to fit the screen, so adding the margins changes the aspect ratio, which distorts the text. |
||
![]() |
![]() |
![]() |
#5 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 349476
Join Date: Jul 2012
Device: Kobo touch
|
Quote:
which talks about the problem a bit more. So I can copy images into the folder till I get a disk full error, and then copy more into any other folder on the device. It even seems to be around the same number of images (7500 or so). Annoyingly, this means it seems I have a choice between not having my library on the touch, even though it has loads of space left, or putting up with the kobo adding margins to all of my covers. Last edited by scoobertron; 10-26-2012 at 01:56 PM. |
|
![]() |
![]() |
![]() |
#6 |
***
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 2716
Join Date: Oct 2012
Device: Sony PRST-2, Kobo touch
|
Have changed the cover page of your book. No white margins available any more. You don't need to copy cover and library images to your kobo for this book. The kobo will generate all images without margins.
|
![]() |
![]() |
![]() |
#7 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 82
Karma: 13557
Join Date: Jul 2010
Location: Albuquerque, NM
Device: Kobo, KT, KGlo, H2O, Libra
|
I've been having issues with new books as well - I think for all of the books I've copied over to the onboard storage since updating to 2.1.5 (previously on 1.9.14), the covers just aren't getting generated.
All are run through calibre's command line tools (ebook-convert), so I know that the cover is on the first page... and the ImageId column in the DB is set up correctly. Any bright ideas? |
![]() |
![]() |
![]() |
#8 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
My Linux skills are enough to know what "df" is, but not to go that much further. But, is an inode count valid for a FAT32 file system? If it wasn't, that would explain the strange numbers. One other thing is path length. I have had a couple of strange things happen with the image files because of very long names. Because the device uses the full path of the book plus a suffix for the image file name and then puts it into a subdirectory, the path can get very long. It is actually possible to get the device to create an image so that the path is longer than 260 character when looked at under Windows. You can see the file, but not do anything with it. And I have also put a book on so that some of the cover images weren't generated because of the path length being exceeded. If you are hitting this, it shouldn't give a disk full error. But, it is also possible that something is misinterpreting the error. Quote:
|
|||
![]() |
![]() |
![]() |
#9 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
- What are you actually seeing? A blank rectangle or a text cover with the title and type of book? - What book type? TXT, RTF and one other type that escapes me right now, never use a cover image. These always just show the title and type. - Path length as explained above. If you use calibre and the new driver to send the books to the device, it keeps the path length for the books short enough not to hit problems with the path length for other files. - How many books on the device? Maybe you are hitting the limit that scoobertron seems to be hitting. - Have you checked the images directory for the image file? I was doing a lot of playing last night because of this thread and another. I had a couple of books come up with blank covers. When I looked at the images directory, the cover images where there. But they where blank. I deleted them and they were generated correctly after the disconnect. |
|
![]() |
![]() |
![]() |
#10 | |||
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 82
Karma: 13557
Join Date: Jul 2010
Location: Albuquerque, NM
Device: Kobo, KT, KGlo, H2O, Libra
|
Quote:
Quote:
![]() I actually only use calibre to convert and clean up the books, I don't bother with the GUI or the kobo driver, never have. I just use rsync to copy new files over. Only at ~850 books at this point, so that shouldn't be a problem. Quote:
Don't get me wrong, this isn't exactly the end of the world, but it'd be nice to know what the heck is going on ![]() |
|||
![]() |
![]() |
![]() |
#11 | ||
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 349476
Join Date: Jul 2012
Device: Kobo touch
|
Quote:
Quote:
And yeah, I think the inode thing was a complete red herring. I don't quite know why I was thinking that. ![]() |
||
![]() |
![]() |
![]() |
#12 |
whippet addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 391
Karma: 689884
Join Date: Dec 2011
Location: France, Normandy, Gisors
Device: Kobo Sage, Kobo Libra Colour
|
At the begining with my Glo, it generated some "auto-covers" with the title and the type of file (though my books had images on the first pages) and then, without knowing why, the device showed them... Never understood what happened, but it works, and I don't try to understand why, just happy with it. I hope your concern will find a solution
![]() |
![]() |
![]() |
![]() |
#13 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
Even if they are using images that are the right ratio, they might still put a margin in. The designer of the book might have thought a margin was a good idea. Without seeing an example, it's hard to know what's going on. |
||
![]() |
![]() |
![]() |
#14 |
***
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 2716
Join Date: Oct 2012
Device: Sony PRST-2, Kobo touch
|
During cover image generation the margins you have set in preferences will be added. I have used a class for body to get around this. You can prevent kobos own margins in generated images if you set the preference for margins to zero before adding a book. This will work for books stored in main memory only. (The images for books stored on sd card are generated on-the-fly and are not persistent.)
|
![]() |
![]() |
![]() |
#15 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,217
Karma: 3804496
Join Date: Feb 2012
Location: Ottawa, Ontario, Canada
Device: Kobo Libra 2, Lenovo Tab M10 FHD Plus, Lenovo Tab M9
|
I've had the covers for two side-loaded (in main memory) books disappear. One epub and one pdf. Weird.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cover image isn't displaying as cover image | Eugene88 | Sigil | 3 | 08-15-2012 04:05 PM |
cover image | lionelsnod | Feedback | 0 | 02-10-2012 07:51 AM |
cover image | jjh76 | Calibre | 3 | 12-30-2011 06:29 AM |
Cover Image | Todd Young | Writers' Corner | 3 | 09-20-2011 05:16 PM |
Cover Image | Padr49904 | Sigil | 7 | 05-07-2011 06:59 PM |