Drawing on JPEGs

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Crow2
Forum Newbie
Posts: 2
Joined: Thu Sep 07, 2006 6:38 am

Drawing on JPEGs

Post 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
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

That's extremely complicated. I think Flash (something like ffART) is going to be a much easier route for this.
Crow2
Forum Newbie
Posts: 2
Joined: Thu Sep 07, 2006 6:38 am

Post by Crow2 »

Thanks. I've been guided to a Javascript solution called Anfy Paint which looks like it will do the job.
User avatar
wtf
Forum Contributor
Posts: 331
Joined: Thu Nov 03, 2005 5:27 pm

Post 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
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

ffart... Image
Post Reply