Hi
Does anyone know, how the AWT mixes two colors with alpha channel?
If I have two BufferedImages bi1 and bi2 both with an alpha channel and create a Graphics2D object on bi1 and draw bi2 on it with drawImage(), what is the way, Java mixes the two colors then?
If one of the images doesn’t have an alpha channel, it’s totally clear. But with both images having an alpha channel, there are different ways to go. But the way, the AWT mixes the colors, seems correct for all of my current use cases. And I would like to know, how it works.
Marvin
