tmm ona bakacağım fakat ben bi tane buldum şöle hata aldık biz beraber yazıyoruz

Bu hatayı alıyorum bu sefer
Fatal error: Call to undefined function imagecreatetruecolor() in C:\wamp\www\sctr\ara\resim\ara.php on line 107

$sor=mysql_query("SELECT * FROM resim where aciklama like '%$ara%'");
echo'<table><tr>';
$i = 0;
while($yaz=mysql_fetch_array($sor)){
$id = $yaz['id'];
$link = $yaz['link'];
$aciklama = $yaz['aciklama'];
$i = $i+1;

function makeThumb($f, $w, $h)
{
$im = imagecreatetruecolor ($w, $h);
$imx = imagecreatefromjpeg($f);
$xxx = getimagesize($f);
imagecopyresampled($im, $imx, 0, 0, 0, 0, $w, $h, $xxx[0], $xxx[1]);
imagejpeg ($im);
imagedestroy($im);
imagedestroy($imx);
}

$resim = makeThumb('$link', 10, 10);


echo"<td>
<img border=\"0\" src=\"$resim\"></td>";
if($i % 4 == 0){echo '</tr>';}
}
echo'</tr></table>';

}