W3C home > Mailing lists > Public > www-style@w3.org > May 2006

Re: proposal: background-image-alpha

From: Garrett Smith <dhtmlkitchen@gmail.com>
Date: Wed, 10 May 2006 15:13:47 -0700
Message-ID: <c9e12660605101513l6fe2c1d8m574d41e5ac6dc14b@mail.gmail.com>
To: www-style@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:45 GMT