|
Why graphics are a bit difficult Image maps and graphics slicing
|
GraphicsJeff Williamson
|
|
|
|
| Transparent image, white page background | Same image, red page background |
|
|
|
| Non-transparent image with white filled background, white page background. | Same image, red page background |
Because images use multiple colors, a page that uses an image background will pretty much require transparent graphics.
One frequent problem in transparencies is halos - the white schmutz you see around the letters below:
![]() |
Halos in my understanding are caused by anti-aliasing. Anti-aliasing is the automatic addition by a graphics program of intermediate colors to make lines which are not perfectly straight appear less jagged:
|
|
|
|
|
|
|
Figure 3: Figure 1 file, developed with some antialiased features on a white background and set for white background transparency, now displayed on a blue background. Halos are the not-exactly-white colors added by antialiasing. |
To sum up:
Images on the web are always rectangular; transparencies can give the illusion of non-rectangular images.Transparent GIFs can be created with standard commerical graphics software
Solid-color backgrounds do not require transparencies; image backgrounds do.
Transparencies that are set for one background color and then used on a mixed or different background are likely to develop halos.
Comments? Questions? Visit the help page
Machine translations
of this page into
Spanish, French, German, Italian, and Portugese
are available
Last updated information on updates page