I’m doing a ODP->HTML conversion with PHP. I have problems with the following:
Use the style:use-window-font-color
property to specify whether or not the
window foreground color should be as
used as the foreground color for a
light background color and white for a
dark background color.
(OpenDocument specification version 1.0, 15.4.4)
If i have a background image, how do i check, if this image is light or dark?
Do you have any ideas?
Thanks in advance,
Levu
I thought this was quite an interesting problem to solve, so i hacked up a quick script to do it. following the other suggestions provided