I imagine this has been answered before, but I haven't been able to find any
relevant explanation in the docs, or in the list archives.

I would like to composite one image on top of another, using a third to mask
the first, something akin to video keying where the mask image may or may
not be related to the composited images.  The only way I can think of doing
this with Java2D is to somehow copy the mask image (a gray-scale matte) into
the alpha channel of the first image, then draw the first image onto a
Grahphics already containing the second image.  But drawing an image into an
alpha channel doesn't appear to be trivial.  Maybe I am missing something.
Any suggestions?

Thanks.


Eddie Elliott

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to