On Wed, Dec 2, 2009 at 6:05 AM, profileofpradeep <pradeep2005s@...
> I would want to try the serverside implementation, could you please give me more details ( or point to code) as to how to get handle on dynamically appended SVG over image, which is embeded in a JSP / Html page and send it to server by AJAX.
what details I need to post ?
setp 1 -- try to draw some svg shapes from JS files. I mean just use
Step 2 - Try to draw such dynamic svg over jpg/png image
Step 3 - Use mousehandling to draw svg over image. you can study the
code of svg-edit program -- try reading the some early version like
v1.0 etc - http://code.google.com/p/svg-edit/
, understand how the
save image in this program works - we have used base64 encode strings.
You can find a php code in repo which was used to post the image to
Setp 4 - At the end of process you will be having svg image and png
image. You can use GD library Or anyother thing on server side to
combile two image. before combining images, You need to convert svg to
Please correct me if I am wrong..
│ Narendra Sisodiya ( नरेन्द्र सिसोदिया )
│ Society for Knowledge Commons
│ Web : http://narendra.techfandu.org