I recently wrote a little servlet that adds a semi-transparent copyright message on top of any image displayed on a web-site.
It works pretty well, using the BufferedImage.getGraphics() method and then using Graphics.drawString().
Now the client would like to use their logo instead of a text string as the semi-transparent "watermark".
Can anyone tell me where I could find the proper classes and methods to draw a semi-transparent image (shape) on top of an existing image?
I was looking at Graphics.drawImage(...) and Graphics2D.fill(Shape s)
The former does not seem to offer the capability to specify a transparency and the later would work if I hade a Shape, that specified the borders of the logo.
However, how do I turn their Logo into a Shape object? Is there a way to read a Shape in from an EPS (vector) file or something like it?
Or should I look somewhere else?