I have tried RescaleOp, however all that seems to do is purplify the BufferedImage. I am looking for something that looks like you are placing a 25% opaque black sheet over an image, a 50% and a 75%. And not a purple sheet.
Heres the code of what I was doing before:
All it seems to do is make it more purple. Is there anything else that will work?
posted 6 years ago
You can blend two images with a given alpha (which would be 0.25, 0.5 or 0.75 in your case) like this:
Provided one of the images is completely black, this should produce the desired output.