Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

transparent dropshadow

Status
Not open for further replies.

TheConeHead

Programmer
Aug 14, 2002
2,106
US
is it possible to make a drop shadow on a transparent image? can .png do this?

[conehead]
 
Yes. Select the layer you want to add the drop shadow to, go to Layer > Layer Style > Drop Shadow... You won't see much unless there's some transparency to view it against.

You mention png, so are you trying to create something for a website? A png will do it (go to File > Save for Web), but there are some browser incompatabilities. To be safe, you should consider adding a background in Photoshop and saving the whole file as a JPG or GIF.
 
or just make it a transparent gif. just save for web and select transperent
 
no - thta will add background color to the image... I am simply wanting the drop shadow (semi transparent as well) in a transparent image

[conehead]
 
a way to prevent this would be to make the gif a transparent gif but make onley the drop shadow transparent. and make the rest a solid color.
 
Only the .PNG format supports alpha transparency. A drop shadow is a gradient (and so an alpha transparency) meaning it gets progressively lighter (or progressively becomes transparent). .GIF can't do that.

Wow JT that almost looked like you knew what you were doing!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top