Grab an old version of GD (one with GIF support), and simply use ImageCreateFromGif() followed by ImageLine() and ImageGif() and you are done.
-Rasmus On Sun, 11 Nov 2001, Torkil Johnsen wrote: > Hello. > > I'm looking for sample code on how I can solve this problem: > > - I have a webpage. > - On the webpage I have a map. (gif image) > - I have two points on the map: a and b, with coordinates ax,ay and bx,by > - Now... I want to create a straight line that is drawn from a to b, and I > want this line to be displayed on top of the map. > > So I want to make a php-generated line that is drawn upon a gif. > Maybe it is possible to draw this line inside a layer that is placed upon > the webpage with a higher z-index that that of the map gif? > > ... any clever minds out there? > > Thanks in advance, > Torkil Johnsen > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]