hi
i have bufferedimage(img1) which i render on the screen, then if user mouseover it i want hightlite it with yellow (exemple yellow with 0.5 alpha)
what i think to do that create another bufferedimage(img2, yellow with 0.5 alpha) with hight and wight as img1 and merge it with img1
but problem is img1 have transparent pixels(0 alpha) and if render over it all area of img1 be merget with img2.
Is there a way to merge pixels of img1 which don't have 0 alpha value with
java composit functionality or a need do this by hand?
PS img2 i can only create programmatically
thanks