PEGTOP
 pegtop.net  >  delphi section  >  articles  >  blend modes  >  average mode 

 delphi section 

 articles 
 blend modes 
 introduction 
 normal mode 
 average mode 
 multiply mode 
 screen mode 
 darken mode 
 lighten mode 
 difference modes 
 overlay mode 
 hard light mode 
 soft light mode 
 dodge modes 
 burn modes 
 quadratic modes 
 additive modes 
 interpolation mode 
 logical modes 
 RGB modes 
 HSL modes 
 opacity 
 dark modes 
 bright modes 
 final words 

 components 

 about me 

average mode
Description:
Most programs don't support this mode, because the normal mode returns the same result, when opacity is set to 50% (see below), but I explain it here at the beginning because it is a very basic mode. It is also similar to additive and subtractive mode (see below).

Formula:
f(a,b) = (a + b) / 2



Advantage:
This mode is commutative (base and blend color can be swapped).

Code:
index | previous page | next page
 
© Copyright 2006 by PEGTOP Software