PHP GD Font Image Text

GD Font Image Text

<?
header("Content-type: image/jpeg");
  $im = @ImageCreate(100, 100);

  $white = imagecolorallocate($im, 255, 255, 255);
  $black = imagecolorallocate($im, 125, 125, 125);

  imagettftext($im, 17, -40, 5, 24, $black, "agdollar.ttf", "No Image");

  imagejpeg($im);
  ImageDestroy($im);
?>