Tgr wrote:
> Aryeh Gregor writes:
>> As far as I know, the only thing actually blocking us from doing this
>> was something like IE5 on Mac printing transparent images with black
>> backgrounds.  That's probably not relevant anymore.  We're still stuck
>> with the fact that IE6 doesn't support alpha channels, though -- we
>> could make the fully-transparent parts of the background transparent,
>> but I don't see how we could avoid aliasing effects on sane browsers
>> without making things look extremely ugly on IE6.
> 
> You could use PNG8 with a color palette where every color is black, with a
> variable level of transparency. That would be equivalent to full PNG32 alpha
> transparency in modern browsers (as long as the only color used in the 
> formulas
> is black), while IE5.5/6 would have binary transparency without any aliasing -
> ugly but probably not horrible. (See
> http://www.v-methods.com/ji/palette_alpha.html for a demonstration.)

It's a nice thing, but how is that relevant to the discussion about
texvc images?
Formulas don't need several transparency levels.
The problem of black background by browsers* ignoring the alpha channel
is solved by using a white background with alpha transparency. So people
not supporting the alpha channel, still see it white (for some reason,
image software like putting black as the color being 'transparent').

The problem there is people reading the wiki as "green on white".
They can use, img.tex { background-color: white; }  to go back to how
they are now.

We can even modify the existing rendered files, if we want to avoid the
extremely unlikely case that there is some formula that hasn't been
stored at the math table in all these years.


*It's not just printing on IE6, the alpha channel is also ignored if you
open the image with simple software like paint.


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to