View Full Version : Calcualtion of Alfa chanel based on RGB
09-05-2001, 06:23 PM
Does anyone know formula, for calculation of the Alfa value based on R G B values?
09-05-2001, 07: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, 07:34 PM
Thaks a lot.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.