Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using an image as an alpha map

Status
Not open for further replies.

Aarem

Programmer
Oct 11, 2004
69
US
Hi. I'm still new to java, and I was wondering what the best way is to take one image, and display it, but with a transparency map (a seperate image). Maybe something with pixelGrabber to get the brightness of each pixel in the alpha map? Please help!
 
I'm not quite clear on how to use this. Could you give me an example?
 
You will need to create one image with an alpha channel (RGBA), and then overlay that image over that ... I would suggest looking at the JAI API and trying yourself ... and then coming back with some code you have tried to get to work (we're not here to hand out free code --- thats called consultancy !!!). You might want to read the link I gave you before and look at the JAI Programmers guide - this is how everyone else learns JAI. There is also a mailing list fro JAI (see java.sun.com's mailing lists).

--------------------------------------------------
Free Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top