Strange warning message GD2 & php 4.1.2

From: Date: Sun, 07 Apr 2002 11:17:49 +0000
Subject: Strange warning message GD2 & php 4.1.2
Groups: php.general 
Request: Send a blank email to php-general+get-91918@lists.php.net to get a copy of this message
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

« previous php.general (#91918) next »