Solved

Gif Transparency problem (can't get rid of white border_

Posted on 2009-05-04
4
607 Views
Last Modified: 2013-12-20
I have tried saving an image as a transparent Gif with the lowest amount of colours but it still has a white border around the image when opened. I have also tried saving as PNG-24 but the same happens.
Any ideas ?

Thanks
0
Comment
Question by:Matt-
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 4

Expert Comment

by:ariestav
ID: 24304187
Are you saving the transparent gif with the "Transparency" item checked off in the "Save for Web and Devices. . ." dialog in Photoshop?  


0
 

Author Comment

by:Matt-
ID: 24304356
yes
0
 
LVL 4

Accepted Solution

by:
ariestav earned 250 total points
ID: 24306275
The white border is probably an artifact of the original transparency on your graphic.  When you see the transparent checkerboard behind your graphic, there are probably some white pixels still around the graphic although you cannot see them because of the visual complexity of the checkboard.

I would recommend loading the transparency of the layer with the graphic (Select > Load Selection. . ., then select Layer "<layer name>" Transparency).  Once the layer's transparency selection is loaded, you should then modify the selection to contract it.  (Select > Modify Selection > Contract, then enter in like 3 or 5).  Once the selection is contracted, you should select the inverse set of pixels (Selection > Select Inverse), and then hit the delete key to get rid of the pixel border.  Then try exporting to transparent gif or png.  Also, you could post the original file as a .zip and I can take a look at it for you.
0
 
LVL 1

Assisted Solution

by:multiplex79
multiplex79 earned 250 total points
ID: 24374741
Also, after "Saving for Web" in Photoshop and selecting GIF and setting your transparency, make sure "Matte" is set to "None" if "Matte" is set to any color, that color will be present around the edges of your final GIF.

Bryan
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Technology Resume 7 89
How to use NFS (Network File System) in Asp.net mvc 5? 4 72
Mobile apps - web/native or hybrid? 1 122
ASP.NET data base connection 35 95
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
Add visuals to your Prezi to keep your audience engaged. Learn how to embed images, edit them, and more in this video micro tutorial. Select "Insert" from the top menu in your Prezi editor: Select "Image": A toolbar will pop in from the right …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question