On Thursday 14 December 2006 18:52, Andy Fong wrote:
>
> > Of course, we'd need the logo image to be transparent again, or we
> > need to align it precisely using CSS to avoid gaps in the
> > background tiling. Given the low contrast in the background I think
> > we can get even away with a transparent GIF (and the patents have
> > finally expired, so...)
>
> The problem with transparent background is that I can't get
> anti-aliasing.

Well, if the background is sufficiently low contrast, then you can fake 
it by rendering the text (with antialiasing) on a surface with a colour 
that is approximately the background colour. Then you make all the 
pixels that still have that background colour (100%) transparent. The 
blended pixels will be a bit off (since they're blended with an 
approximate, monochrome background rather than the real background) but 
if the contrast is low enough then that won't be noticeable.

At least, that was my theory. And it seems to work:

http://nova.student.utwente.nl/~lourens/gfx/opengraphics/traversal_logo_3.gif

I've also made the background a little darker and separated it out:

http://nova.student.utwente.nl/~lourens/gfx/opengraphics/background.jpg

Lourens

Attachment: pgpPEtacAKFJ8.pgp
Description: PGP signature

_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)

Reply via email to