This is for an Android application. Let\'s say that I have two colors with alpha
int color1 = 0x12345678 // aarrggbb int color2 = 0x87654321
It's part of the Java Advanced Imaging API:
http://download.java.net/media/jai/javadoc/1.1.3/jai-apidocs/javax/media/jai/operator/CompositeDescriptor.html
http://www.oracle.com/technetwork/java/current-142188.html