Code: Select all
$color = imagecolorallocate($im, 0, 0, 0);
imageline($im, 5, 19, 66, 867, $color);
imageline($im, 54, 65, 543, 543, $color);
imageline($im, 55, 3, 1, 166, $color);
imageline($im, 98, 12, 543, 1, $color);Well, it seems to make the lines any color it likes (although they are alll the same color) - white, red, in fact pretty much anything except for black
Have I got this function totally wrong, or what?