[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] Premultiply or not

On Tue, Jun 27, 2006 at 03:15:28PM +0100, Andrew Williams wrote:
> demultiplying is not always possible...
> (how do you de-multiply a colour that has alpha of 0?)
> A

You just have to pick an (arbitrary) color to set it to. E.g. black.
Its not 1-1 but its consistant. (Similar to how in HSV, if S=0, H is arbitrary).--