Re: What's with the White Halo..

by Luke Opperman <luko(at)rocketmail.com>

 Date:  Tue, 9 Feb 1999 00:15:10 -0800 (PST)
 To:  Chris Hawkins <wings(at)azstarnet.com>,
hwg-graphics <hwg-graphics(at)hwg.org>
  todo: View Thread, Original
Ah... welcome to the wonderful world of anti-aliasing and
single-color transparency.

The problem is, when you make the image transparent as a
.gif, only one of the 256 colors of the palette can be
transparent. However, your program has anti-aliased the
objects in the image to the background color of white.
Anti-aliasing basically blurs the edges so they aren't as
pixelated.

So there are colors right next to the edge of each object
which are almost white, but not quite white. But only the
real white is being transparent.

What can you do? Use a background color that is as close
as you can get to the background that will be on the page.
Even if it is a background image, find a color that is
close. Then, when the image is anti-aliased and made
transparent, the anti-aliasing will be blending into the
background of the page.

If this didn't answer your question, just let me know.

Luke



===

                - ( luke opperman ) -
     Spigot Graphics, Cohesive Design for the Web
          - ( http://spigot.hypermart.net/ ) -  
      Viva La Revolution! Linux 2.2 and Beyond!




_________________________________________________________
DO YOU YAHOO!?
Get your free (at)yahoo.com address at http://mail.yahoo.com

HWG: hwg-graphics mailing list archives, maintained by Webmasters @ IWA