I want to create gif/png image file using java programatically. This gif/png image should be transparent and a certain patch of color of specified rectangular size and at specified location should be translucent. I have height and width of the image in pixels. I also have x,y coordinate placing that rectangular colored translucent patch and also have the height and width of that colored translucent patch.
Is it possible to create a gif/png image with above specification programatically in Java? How to create such gif/png image?
As I don't know image processing in java please guide me friends to achieve this task.