Transparency? Change Magic Pink(255, 0, 255) to transparent when blitting?
807601Jan 9 2008 — edited Jan 10 2008Hi there. :)
I've successfully loaded a bunch of images into Image objects in my HelloWorld applet; my next problem is getting that magic pink background to not show up.
I looked through the methods in Java2D, and can't seem to find any that do what I want? Is there a setPixel() or getPixel() method that I'm missing? I just need to check if a pixel is pink, and then change the alpha from 1 to 0, I think.
But if I can't check the pixel colour, I'm not sure how I do that. I looked for a replaceColour() method, but couldn't seem to find one of those either.
Thanks. :D
-Kramy