Hi all,
I'm trying to make a dashed line trough a picture
but it only displays weird numbers. Can anyone help me with this
Thanx in advance
Olli
<?PHP
$g = "amy_stoker.jpg";
$img = imagecreatefromjpeg ($g);
$red = imagecolorallocate ($img,255,0,0);
imagedashedline ($img, 10,10,150,100,$rot);
header ("Content-Type: image/jpeg");
imagejpeg ($img);
?>