Go Premium for a chance to win a PS4. Enter to Win


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
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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…
The Summer 2017 Scholarship Winners have been announced!
In this tutorial viewers will learn how to create a vector texture to apply a non-rasterized texture to vector images, using Photoshop and Illustrator Open a textured image such as a scanned-in piece of cardboard in Photoshop: Convert the texture to…
Users will learn how resize a batch of photos from a single command in Photoshop via Photoshop's Image Processor. Open up an Image you'd like to resize in Adobe Photoshop: Adjust the image size according to your preferences. Image > Adjustments > …

963 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