Re: [PHP] Drawing line onto an image

2001-11-10 Thread Rasmus Lerdorf
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

[PHP] Drawing line onto an image

2001-11-10 Thread Torkil Johnsen
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 li