Add watermark to jpeg
I need to add a watermark to jpeg image file. What I was trying to do was that I had a watermark in PNG format The watermark has transparent background with text having opacity 75%.
Using JAI overlay, I am trying to place that png file on the jpeg file. It gives error that both images should have same number of bands and data type. Can anyone help me in this regard?
Or can you provide me some code for watermarking ?