View Full Version : Calcualtion of Alfa chanel based on RGB
09-05-2001, 05:23 PM
Does anyone know formula, for calculation of the Alfa value based on R G B values?
09-05-2001, 06:31 PM
There is no such formula. Alpha is independent of RGB.
If you want to use say the brightness as alpha the formula A = 0.30*R + 0.59*G + 0.11*B
09-05-2001, 06:34 PM
Thaks a lot.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.