Dealing with no transparency
I have a PNG where a corner of it is transparent. (It's a picture of a newspaper where the article text is removed, but the headline and photo remain, creating an L-shaped opaque area and a rectangular transparent area.)
I copied the epub to Kindle, and it shows a block of white where it should be transparent. I've concluded that Kindle doesn't support transparency, even though they started supporting epubs.
I'm wondering if I can work around the issue by having multiple images where the transparent area is either white, sepia, green, or black and choose which to display based on the background color the user has chosen for their Reader.
If the background color is white (or close to it), display the white version. If the background color is sepia (or close to it), display the sepia version. Etc.
Is that possible? How would I do that?
Or would Kindle actually display the transparency correctly if I set up my epub (v3) differently?
Note: Another use case is for scene break images—irregular shapes that get set in a white rectangle instead of a transparent background.
|