Hi,
I'm using the gd routines to display a map on the screen. What I would like to be able to do is to dynamically draw a polygon over a particular area to highlight that area.
To do this I load the map image first and then I create another image the same height and width which I then draw my polygon onto. I then use the ImageCopyMerge function to generate the final result.
The problem is that when I merge the two images the part of the polygon image that has no polygon on it is black and it darkens the image. If I make it white then it lightens the image. I can't seem to find a halfway or "dont process" colour.
Anyone got any ideas on this one?
Cheers,