Re: proposal: background-image-alpha

background-opacity would be useful.

That way, you could have partial opacity for just a background-color.

Garrett

On 5/9/06, David Woolley <david@djwhome.demon.co.uk> wrote:
>
> >
> > What does "linear encoding for the mask" mean here?
>
> After pre-converting the actual image to gamma 1.0, you multiply by the
> values in the mask without doing any additional linearisation.  (You
> then post convert the image to sRGB gamma.)
>
> More precisely, you first normalise the mask and multiply the foregroound
> by the mask value and the background by 1 - the mask value.
>
> If your mask was in sRGB, but with zero chrominance, you would have to
> cancel the sRGB gamma on both the mask and the image before combining.
>
>


--
http://dhtmlkitchen.com/

Received on Wednesday, 10 May 2006 22:14:06 UTC