Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to get rid of white edge around gif w/Photoshop CS 2

Status
Not open for further replies.
Looking at your code, all the images (except the spacer) seem to be JPEGs anwyay.
Are you talking about combining the logo (which you have as a gif) with the background sky image before you output your JPEGs in the table?

- Web design and ranting
- Day of Defeat gaming community
"I'm making time
 
Yes, this is an optimized sliced image generated by Photoshop,I was talking about editing it while still in photoshop-- I discovered that when I select the layer and changed some of the attributes to either darken or modify the .gif as a layer it got anti aliased and rasterized.

you can see another progression: It's WAY in the early stages...it will have some FLASH when I get done with it.

Thank you so much for your input.

singersower
 
The original logo was a gif right? That white edge is a result of the transparent gif's matte. The only way you can get it to disappear is to actually retouch the image in photoshop to remove the white. There is no way to import it differently or get it without the matte unless you have the original logo file.

One thing you could try is right clicking on the thumbnail in the logo layer. Choose Select Layer Transparency. Then go to Select>Inverse. Then Select>Modify>Expand. Choose 1px. Then hit delete(or backspace). That should trim off the white border.

Hope it helps.

Wow JT that almost looked like you knew what you were doing!
 
The white edges are actually due to the antialiasing between the text and it's background. The original background happened to be lighter than the one it's being place in, so when you place it, you see the lighter edge pixels.

You get the idea. Separate the bit you want from the background, then come in a bit to avoid the lighter pixels round the edge.

I can see how using a blending mode would work OK in this case, but it won't work as well in all cases.

- Web design and ranting
- Day of Defeat gaming community
"I'm making time
 
Wow...those are all great tips! Thanks so much for all the help!
I will use those methods :)

singersower
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top