Forum Moderators: not2easy
I'm saving it in gif. The background itself is transparent, and does not lose its transparency. It's only one of the layers that won't work right. I'm making a logo that has a sword behind the text. To make the text stand out better I want the sword to be faded a bit.
I click the correct layer in the palette, then I go to Layer -> Layer Style ->Blending Options, set the Blend Mode to Normal, and the Opacity to 51%. I don't touch the Advanced Blending options or anything else.
It looks exactly the way I want it until I go to save it. The effect is gone.
A few more details about saving it:
In the Save For Web window I have it set to GIF, Perceptual, No Dither. Transparency is checked, No Transparency Dither, 128 Colors.
I've done this before (a long time ago) but never had this problem. What am I missing?
1) Make "Sword Layer" 100% Opacity
2) Create a New Layer. Make sure it is BEHIND the 'Sword Layer' We'll call this one 'Sword Mask'. It's not really a mask, but you'll see.
3) Select your 'Sword Layer' in the Layers box.
4) Go to 'Select' --> 'Load Selection' and make sure your Channel says 'Layer Transparancy'
5) Select the 'Sword Mask' layer in you Layer box. You should have an empty area selected now.
6) Fill that layer with your background color from your site... Yes, even if the bgcolor of your site is white.
7) Change the opacity of the sword.
This is the ONLY way to truly view what this is going to look like when gif'ed. And if your site background is grey, then you will already have the same grey as the background of your image, showing through the sword.
If this is not what you wanted, I misread your post and I am sorry.
Good Luck! :0)
-- Zak
It's like a setting got changed or something that affects Photoshop all around. A few minutes ago I was just working with a single layer text image with a faint drop shadow (25% opacity). The shadow looks fine - until I go to save it; then it is no longer faint, it is at 100% opacity; solid.
As good as it is, I'm afraid your suggestion won't do any good for me until that is solved. :(
You cannot preserve this level of transparency - Browsers do not support it. You will have to alias you image to your background colour and then export it all so it appears to be transparent.
They will allow index transparency but only on the one level - so graded/translucent blends between page elements are out :(
>> Added: That said, you can fudge it using colour replacement so you are replacing every other pixel in a grid with a transparent one to give the effect of a graded blend. You could also look at CSS dropshadows
-- Zak
The issue is simple: A GIF with a transparent background does not get saved properly when there are opacity levels applied in one or more layers of the image.
Whether it is a drop-shadow with less than 100% opacity, or a background layer with less opacity than the foreground layer, or when I feather edges; anything like that, the effect is not saved.
For years I have applied drop-shadows, feathering, etc., with all different levels of opacity to GIFs with transparent backgrounds. And all I had to do was go to File -> Save for Web to save it as I created it. I never had to go through all the steps described in the above posts.
Something changed, and I can't figure out what it is. I was hoping someone would know. But maybe it's an odd issue that only a reinstall would fix.... I dunno. :-/
Their transparency capabilities are extremely limited. All they can do is choose one colour as the transparent colour. They do not allow for 50% opacity so that things show through, they do not allow for gradient shadow opacity, and they don't allow for multiple colour blending to the transparent area.
However, PNGs can do all of those things. But the problem with PNGs is that Internet Explorer does not display their transparency like it should, and nobody knows why MS has decided this. There are clunky workarounds to make it happen, but they aren't always reliable.
So the basic answer is, you'll have to fudge it like the other posters suggested.