I am having issue using Freetype.
<?php
header ("Content-type: image/png");
$im = imagecreate (400, 30);
$black = imagecolorallocate ($im, 0, 0, 0);
$white = imagecolorallocate ($im, 255, 255, 255);
imagettftext ($im, 8/81*64, 0, 10, 20, -$white, "arial.ttf", "hello");
imagepng ($im);
imagedestroy ($im);
?>
This code will not output an image in a browser but this:
‰PNG IHDR
freetype issue
Moderator: General Moderators