Open EricWVGG opened 10 years ago
a couple partial solutions I can think of for this:
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
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>