Okay some problems… how to you use the filter??
Also, this seems to be only for filtering one image…
http://members.gamedev.net/hops/Pics/forum_examples/example_01.png
http://members.gamedev.net/hops/Pics/forum_examples/example_02.png
http://members.gamedev.net/hops/Pics/forum_examples/example_03.png
My goal is to use this with sprite rendering so that I don’t have to render the entire background each frame. So my solution is to create the BufferedImage ColorMask (the third one) and mask the areas of the sprite that shouldn’t be drawn.
In this case I want to mask out the red and the blue but in the sprite graphic.
So maybe the way to do this would be to take the BufferedImage ColorMask, and filter the bad colors to black, and all others to white and then make it a bitmask for the sprite…
The thing is that I have never used a flilter or bitmask before, so I have no idea what I’m doing 
While looking around on the net I can’t find a good tutorial on the filter or bitmasks, or how to convert a black and white image into a bitmask…
any help?