Solved

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

Posted on 2009-05-04
4
605 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-
  • 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
Create animated movies for web page 18 119
hbo knew my windows software 4 76
Code Manager | Snippits 2 59
Replace value 2 27
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Learn how to download your full Prezi presentation for offline presenting. Prezi doesn’t have to be viewed and shared in a web browser, even with a free account you can download your full presentation to share with others. Be sure to download any vi…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

735 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