does anybody know how to do subtractive blending in java2d? i need to take an image and subtract each color component on each corresponding pixel on another image from it. i need to do this very quickly.
Thanks in advance!
Printable View
does anybody know how to do subtractive blending in java2d? i need to take an image and subtract each color component on each corresponding pixel on another image from it. i need to do this very quickly.
Thanks in advance!
If you get a x,y grid of pixels for each image, you could do your computation and then replace the pixel in the target image with the new value.Quote:
subtract each color component