This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am needing some component (avoiding an applet) in which the user can add to a predefined image, three kind of items: a point, a line or a circle. The idea is to set up a mammography report, in wich the doctor can add those items to the image of the busts.
Do you any idea about how I can do that?
I am thinking in Paint2D component, wich comes with RichFaces 3.0.0 (or later), but I dont know if it could do that for me.
RichFaces has extensive drag and drop support, and you can certainly set up a control such that dropping something on it would fire an AJAX event so that the server could do something with it - possibly merging images and re-rendering the updated target image.
For client-side image manipulation, it depends on what exactly you want to do.
An IDE is no substitute for an Intelligent Developer.
Juan Manuel Diaz
Joined: Mar 23, 2009
Hi! Thanks for the reply.
I thought about that, but the thing is: how can i know the exact point in which the image was dropped? So, if i know the coordinates, i can merge the images.