Hello all,
When I use the following code:
$image = ImageCreate(300, 300);
$black = ImageColorAllocate($image, 0, 0, 0);
ImageTTFText($image, 30, 0, 20, 10, $black, "myfont.ttf" , "test");
ImagePng($image);
ImageDestroy($image);
I get the following output:
‰PNG IHDR,,C³6PLTE§z=Ú"IDATxœíÁ1 õOm ? x-´ft3dIEND®B`‚
any suggestions? I am using PHP 4.0.6. I notice that the --with-ttf option is not listed...but this seems like a rather un-graceful result for php...
Thanks in advance for your response.
Jeff