|
|
#1 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 555
Karma: 422221
Join Date: Jul 2010
Location: UK
Device: Sony PRS-300 & Kindle PW
|
ePub to azw3 paragraph background-colour
Tweaking the azw3 shows that the background colour has been converted, so it seems it is just not rendered. Do I have to use particular shades of grey to work with Kindles? |
|
|
|
|
|
#2 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,657
Karma: 3473290
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Never heard of this one, amazon's html renderers tend to have lots more bugs than epub renderers (they're newer) so this may well be one of them. Try creating a simple test html file and converting that. ALso try converting it with kindlegen to verify it isn't a conversion problem.
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 555
Karma: 422221
Join Date: Jul 2010
Location: UK
Device: Sony PRS-300 & Kindle PW
|
It does seem to be a rendering issue.
With background-color:#f0f0f0 calibre viewer, ADE and Firefox all display the same shade of grey but Kindle PW and Previewer show white. Dropping down to #e8e8e8 shows on all these devices, although it is a lighter shade of grey with Kindle rendering than on the others. So I can either compromise on #e8e8e8 or do some more thorough testing and see how various shades of grey vary on Kindle. Using Kindlegen gave the same results as calibre. (I wonder if ePub readers from different manufacturers also render colours differently.) |
|
|
|
|
|
#4 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 555
Karma: 422221
Join Date: Jul 2010
Location: UK
Device: Sony PRS-300 & Kindle PW
|
Greyscale Tests
I've done a bit more testing and it definitely seems to be a rendering issue.
Attached is a simple test in ePub with various shades of grey. (It's deliberately a 2-page document to force a white 'cleaning' page before the actual tests.) In calibre reader, ADE for PC and on my Sony PRS-300 all 8-shades show up differently, (although the dithering is quite apparent on the Sony with some of them - presumably because it only has 8 actual greys to use). On Kindle PW the results are very different: White and Grey 1 are both rendered as white. Greys 2 to 5 are light grey but all the same. Greys 6 and 7 are the same as each other but darker than 2 to 5. If anyone feels inclined to test on their own reader and report back I would appreciate it. (I want to make sure my books render as expected on any device). Thanks! Last edited by Agama; 01-11-2013 at 05:27 PM. Reason: Typo |
|
|
|
|
|
#5 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,952
Karma: 2574555
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
![]() ![]() on my Pez (Hanlin V5)No stripes show at all. (not your fault)Looking Very Close at a angle, White is lighter and there is a distinct gradient between Grey 7 and 'the end' of the screen So much for 8 levels
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#6 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 555
Karma: 422221
Join Date: Jul 2010
Location: UK
Device: Sony PRS-300 & Kindle PW
|
Interesting, and thanks for the info.
My Sony only has 8-levels but it achieves many more shades by mixing pixels of the greys that it can manage, so all 8 tests show a subtle change in level. Some end up looking very 'smooth' and others look a bit 'grainy' so maybe sometimes I've hit the non-blended greys. Perhaps readers also differ when rendering paragraph background-colour as opposed to rendering an image. I wonder if some readers snap to the nearest non-mixed grey. |
|
|
|
|
|
#7 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,952
Karma: 2574555
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Conversion from epub to azw3 | Joy736 | Conversion | 12 | 01-01-2013 11:00 AM |
| Comments - colour background with links | transmitthis | Calibre | 3 | 12-07-2011 09:02 AM |
| LRF background colour? | femgeek | LRF | 0 | 06-20-2011 08:58 AM |
| Feature request - have tags set background colour of row | KPHarg | Calibre | 5 | 01-01-2010 12:44 AM |
| Background colour is always white? | Tissa | Reading and Management | 0 | 11-29-2005 12:46 PM |