99problems
99problems copied to clipboard
inverted colors, images don't invert
When an e-reader’s palette is inverted (to white on black), images don't invert. This leaves section-separating dashes and chapter drop caps (which are usually bitmaps) looking terrible.
Obviously this should be a preference, or better still an attribute in the ebook markup (say, <img does-invert>
a couple partial solutions I can think of for this:
- always set the background color to white (not perfect because some readers will force the background to black when in a night mode)
- a javascript solution, although that would only work in iBooks for now.
Actually, it looks like the Kindle Fire handles this by always make transparent backgrounds white. Not ideal, but it does work.
iBooks Night Mode detect codes is below. PNG alpha file inverted with this code: Jquery and Webkit filter css... For only iBooks
