Web Hosting Talk







View Full Version : Image help


ded
02-07-2001, 06:43 PM
i have images on my page, and according to my hex codes on the page, and the hex's i used for the image color, they are the same, but when you look at them they arent. Is there a way to set their background transparent so the background will show thru and all is left is text.??
http://proh.hypermart.net you can see what im talking about...

akashik
02-07-2001, 06:52 PM
I used to get the same problem myself at times. It's usually caused by the gif compression - ie. when you cut down the colors it tends to distort some of what's left - though if you've made them in photoshop it can do that too when it saves as a .gif or .jpg (now I think of it). Fireworks is great for getting color right. Just import the .psd file and then export as a gif.

To get rid of the background totally you need to specify what is going to be made transparent (usually the alpha level). Export the graphic as a transparent gif and you're done.

The only problem with transparent gifs is they are dependant on the background color for the anti-aliasing. So if you've removed a light background from the gif and are displaying on a dark page you'll get a halo effect (and the same for the other way around)

Greg Moore