Page 1 of 1

Drawing on JPEGs

Posted: Thu Sep 07, 2006 6:41 am
by Crow2
I need to display a jpeg of a map on a PHP web page - no problem with coding that ... but then I want to enable the user to draw lines on the map (by the side of roads to mark out a route), and then save the annotated image back to the web server.

Not sure where to start on the latter. Could someone advise or point me to resources to get me started?

Thanks

Posted: Thu Sep 07, 2006 7:14 am
by Chris Corbyn
That's extremely complicated. I think Flash (something like ffART) is going to be a much easier route for this.

Posted: Fri Sep 08, 2006 5:24 am
by Crow2
Thanks. I've been guided to a Javascript solution called Anfy Paint which looks like it will do the job.

Posted: Fri Sep 08, 2006 7:13 pm
by wtf
Anfy's not Java Script but Java. To do this in Flash would be a piece of cake.

Here's how http://www.kirupa.com/developer/actions ... lash52.htm

Posted: Fri Sep 08, 2006 8:01 pm
by Luke
ffart... Image