Re: merging images
vk wrote:
(re. AlphaComposite)
and knute i apologise to u to...
i read your response ...
but i m unable to use it correctly ...
It is tricky to use...
is there any other alternative to it ....
...But it is 'made for this job', so it is better to
find out how to make it work for your application,
than to use any plug-in (or 'other alternative')
that will end up being as complicated as the
AlphaComposite class, except that no one
here will know how to use the third party plug-in,
and Sun will not support it (as it does for
AlphaComposite).
Here is a simple example of using an
AlphaComposite with 'red dots'
<http://groups.google.com/group/comp.lang.java.gui/msg/749fd4a722348f5a>
The Sun Java2D Demo has examples using
actual images, you can see an 'on-screen' example
in the applet here (select the 'Composite' tab)..
<http://java.sun.com/products/java-media/2D/samples/java2demo/Java2Demo.html>
Beyond that, I am not sure what to tell you, since I
do not know how your AlphaComposite code went wrong.
But if you cannot get it to work, I suggest you post your
broken attempts, describe what you see, and what you
would like to see, and we should be able to help further.
I will ask you though...
Please, in future when you cannot get an idea to work -
mention it in a reply.
If you were given wrong information/answer, we need to know
(at least, it would be handy to know). And if the answer was
correct, we can help fix what went wrong.
Andrew T.