Solved

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

Posted on 2009-05-04
4
602 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
push logos in footer up higher 5 20
how to see all occupied ports on windows 10 laptop 15 65
CSS: Making Pure CSS read more boxes thinner 5 31
QQ problem 22 23
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
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 …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

777 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