problem with transparency

Posted on 2004-08-11
Medium Priority
Last Modified: 2010-04-03

I have a couple of .png files with transparent background I want to resize and save as .gif for my website. And it has been working until now. I've tried with both PhotoShop 7 and Fireworks but both program save a .gif file without transparent background.

It's the same if I view the files on my website or preview them in windows, there is no transparent background, it's only a white background. So I might think it's a setting in Windows because none program can view them correct.

This is very annoying because it worked great for a while ago. I hope any expert can help me soon.

Question by:calke
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
LVL 30

Expert Comment

ID: 11779929
It's probably that when you saved it from photoshop, you didn't select to use a transparent background.

Author Comment

ID: 11781109
No, I checked the transparent box when I save it. It's some kind of general setting. If I create a new .gif image from scratch with transparent background and with some text, the background will become white. I think it's the same for the .png files. It's like the transparent global setting has been disabled.
LVL 30

Accepted Solution

weed earned 172 total points
ID: 11784760
There is no transparent global setting. Youre aware that IE for windows doesnt play nice with transparent PNGs right? And a transparent gif viewed on a white background will look like it has a white background, not transparent.

Assisted Solution

bobbobbins earned 164 total points
ID: 11798711
is your lowest layer still a background layer ?

ie is the lowest layer named "layer 1" or "background" ?

If its still "background" then you need to turn it into a normal layer for it to be transparent.

Assisted Solution

nmotion earned 164 total points
ID: 11883855
better than that: when you go to save as a .gif with transparency, select Save for Web... (ALT + SHIFT + CTRL + S in Windows).  if you've never used this before, it's fairly simple:

-grab the eyedropper tool on the left hand side of the "Save for Web..." pop-up window
-click the color you wish to be transparent (if you have a white background in the image, click the white background)
-on the right hand side of the pop-up, you'll see a "table" containing all the colors in the image.  at the bottom of this table are a few icons.  the second icon from the left (looks like a little transparency grid) will map the color you just chose as transparent.
-above the color table is the save settings (including whether it's png, gif, jpg, etc, etc).  tweak these to your liking and click save (top right hand corner of the window)
-a dialog box will come up asking where you would like to save to (typical windows save as... standard fare)

it's a little more complex than simply checkmarking the transparency box on a standard save as..., but you have much more control over your transparency and other web effects, plus you can preview it before you waste valuable time getting it into a web page only to have it not look quite right.

hope that helps.

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Introduction When sharing photos, especially via e-mail, the large resolution images that most cameras take today make for extremely large file sizes. The time required to upload these files to forums, send in e-mails, post to blogs or even placi…
In this article, I'll explain how to change the color of a selection in Photoshop. I'm sure there are a couple different ways to do this in photoshop, but this is my preferred method in Photoshop. I am using Photoshop CS6 and I will be adjusting the…
In this tutorial viewers will learn how to correct colors in Photoshop using the Curves adjustment Open a photo for editing in Photoshop: Begin by creating a new adjustment layer by going to Layer > New Adjustment Layer > Curves: Select "OK" on the …
In this tutorial viewers will learn how to correct colors in Photoshop using the Levels adjustment Open a photo for editing in Photoshop: Begin by creating a new adjustment layer by going to Layer > New Adjustment Layer > Levels: Select "OK" on the …
Suggested Courses
Course of the Month11 days, 16 hours left to enroll

752 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