View Single Post
Old 03-02-2016, 04:35 PM   #13
Libron
Member
Libron began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Feb 2016
Device: Kindle 5, Kobo Glo HD
Thanks for the replies.

Quote:
Originally Posted by JSWolf View Post
The problem you are most likely encountering is that in most cover XHTML files there is no CSS linked. So what you need to do is load your ePub into the Calibre eBook editor and see if the CSS is being linked to in the cover XHTML and if not, add it in.
It would be too tedious, with my huge library.

Quote:
Originally Posted by davidfor View Post
Another alternative is to not use night mode, but to invert the colours of the text using CSS. That would mean the interface would display normally, but when reading it would be in a pseudo-night mode. Getting this right would take some experimentation, but it should be possible.
I tried that and it works, but while text is inverted, top and bottom margins are not, even in full-screen, so it looks weird.

Quote:
Originally Posted by MGlitch View Post
I find myself in the same boat, I didn't think I'd like Night Mode, but ended up loving it.

It's tedious, but I'm using Photoshop to invert the cover.jpg that Calibre saves in its library. The tedious bit comes in with getting the images, it doesn't seem PS has a way to open all images within multiple folders without making aliases to those folders. Which might not be an issue except the images are all in calibre library/author/book title.

So while I save myself a few keystrokes by just making an action in PS to invert, save, and close, I still have to open each image.

Once I'm done with all the ebooks I have, I'll use the method David suggested of sending covers to the device. Already tested this with one book and it worked perfectly.

I've thought about getting the images out of those folders in some way, but that adds way more involved work on the backend as I'd then have to match up all the covers with the book.

I figure that if, at some point, I decide to go back to regular I can just have Calibre batch download cover art again and let it replace the inverted images.

ETA- All done now, I was done inverting the books about an hour ago, which means it took me about two hours to invert all my covers, though I wasn't exactly rushing. Not sure how long it took Calibre to upload the images for all the ebooks, I set it to go and walked my dog. When I got home it was finished.
Thanks, that's probably the best solution. It takes some time, but not as much as manual code editing and gets the job done. I use free GIMP, instead of Photoshop.Thankfully it also has customizable keyboard shortcuts, so I temporarily made GIMP my custom program for opening jpgs and use shortcut combo Ctrl+A (select), Ctrl+S (invert), Ctrl+D (export and overwrite), Ctrl+F (close).
Libron is offline   Reply With Quote