Discussion: PNG24 opacity
Afficher un message
Vieux 22/02/2008, 01h39   #2
Jeff
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: PNG24 opacity

tacit wrote:
> In article <13rri8p44g3k89a@corp.supernews.com>,
> Jeff <jeff@spam_me_not.com> wrote:
>
>> What I'd like to do is create a gradiant and set an opacity for that.
>> Target use is the web and this would be PNG24. I see that there is a
>> transparency option in the "save for web" dialog. But it is always
>> grayed out. I've tried the "foreground to transparent" option on the
>> gradient and then I tried everything else I could think of.

>
> You have to create the image to be transparent in the first place.
>
> Create a new image. Set the background to transparent in the New Image
> dialog. You will see a checkerboard pattern. The checkerboard indicates
> transparency.
>
> Create your gradient, using the gradient tool in Foreground to
> Transparent mode.
>
> Save the image as a transparent PNG using Save for Web.


Thanks ever so much for the step by step. Much appreciated.
>
> When you have done this, be prepared to be disappointed; Internet
> Explorer 6 and earlier won't display it properly. Sorry...


Just FYI, there is a "hack" for IE5.5 and up.

I've got a little color design page. Normally you would have to
create a new gradient for each color adjustment you want. But if you
nest two divs and set a background-image for the inside you just have to
set a background-color for the outside to change the gradient color. Of
course, you need opacity for that!

Once more, thanks.

Jeff

>

  Réponse avec citation
 
Page generated in 0,06335 seconds with 9 queries