Perhaps someone can kindly help me with the following problem.
The following snippet runs perfectly when I use php_gd.dll but generates a
garbled warning message when I switch the extension to php_gd2.dll
"Warning: @�p in c:\program files\apache group\apache\htdocs\test.php on
line 10"
(line 10 being the imageTTFText call)
$image = imagecreate(500, 500);
define( 'BEIGE', imagecolorallocate($image, 245, 245, 220) ); #
Automaticaly 1st is Background color
define( 'BLACK', imagecolorallocate($image, 0, 0, 0) );
imageTTFText($image, 32, 0, 100, 100, BLACK, 'c:/WINNT/Fonts/times.ttf',
'HELLO');
header('Content-type: image/png');
imagepng($image);
Cheers,
Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php