Forum: Photoshop


Subject: Transparent gif has a white border around - ?

Pontigary opened this issue on Jan 20, 2003 ยท 8 posts


Pontigary posted Mon, 20 January 2003 at 4:43 PM

So, everything is said already in the subject line: Transparent gif made in Photoshop 7.0.1 (Save for Web etc) has an approximately 1 pixel white border around seen in browser though no border is seen in Photoshop... (the border is anti-aliased). I tried Red Prince whitewash Alpha channel - no results. The border is very noticable, taking into concideration the gif is dark, the bacjground is dark as well! Please do help! Thank You in advance, -Anthony.


Slynky posted Tue, 21 January 2003 at 7:01 PM

perhaps posting the gif in question will yield quick aid


antevark posted Tue, 21 January 2003 at 9:27 PM

is it a link? links always hav borders....


Grimtwist posted Wed, 22 January 2003 at 2:18 AM

Tried cropping the pic to just inside the white border?


lundqvist posted Wed, 22 January 2003 at 3:05 AM

When in "Save for Web" are you specifying a white (or light color) matte? If so, try selecting a color closer to the intended background color. I suspect PS is trying to antialias the edges for a background color other than the one you want.

Pontigary posted Fri, 24 January 2003 at 1:56 PM

Thnk You, friends, for the advice. I really get rid of white changing the matte color. Great! Nevertheless the transparent GIF quality is not what I need and expected at all: I made a transparent gif in Photoshop to use it on a dark background. It is a solid-color area surrounded by corona (EyeCandy 4000). On hi-res pic it looks all right but when I make it the size I need for the web page and save as optimized GIF the results in unaffordably poor. There are some options for diffusiuon/transparency/optimisation of GIFs in Photoshop (see the pic in lundqvist's posting). Can You advise me what should I choose to make my transparent gifs with that kind gradient edges better? Thank You in advance, -Anthony.

lundqvist posted Fri, 24 January 2003 at 2:08 PM

This is a bit tricky to answer. What are the sizes of the original image with respect to the target web version? It would probably be better to create the image full-size in RGB mode, then reduce to web image size and then convert to gif with transparency - you afford PS more leeway in the downsampling then. Alternatively, if the image will be shown against a solid color background (as opposed to tiled) you could flatten with that intended background color rather than transparency and save as JPG (which will handle the corona effect - which I assume to be some sort of gradient - a bit better.


Pontigary posted Fri, 24 January 2003 at 2:35 PM

Thank You, lundqvist. I should compare tsizes and likely to stop on JPG-variant. Grateful for Your wise suggestions, digitally Yours, -Anthony.