I need to cut out an image in the shape of the text in another image. I think it\'s best shown in images.
This is a photo of a cat:
No java here, but the needed image operations are easy to understand. In Mathematica: