Transform RGBA with underlying color into RGB?

Viewed 2588

i've got a problem with transforming Colors in Java. The simplified problem look like the following:

My application contains an image. I've layed an Recangle over this image. The color of the Rectangle is defined as new Color(255, 255, 0, 80).

Is it possible to calculate / transform the Color which is shown on the Screen into a Color without Alpha-Value without the getPixelColor()-Method? Different formulated: Can I calculate a Color without alpha-value from a Color with alpha-value + the underlying color?

I hope someone can help me.

Regards, Michael

1 Answers
Related