image problem

From: Date: Thu, 01 May 2003 13:43:10 +0000
Subject: image problem
Groups: php.install 
Request: Send a blank email to php-install+get-10775@lists.php.net to get a copy of this message
hi! I have gd installed and enabled. Trying the typical ---------------------------------------------- header ("Content-type: image/png"); $im = @imagecreate (50, 100) or die ("Cannot Initialize new GD image stream"); $background_color = imagecolorallocate ($im, 255, 255, 255); $text_color = imagecolorallocate ($im, 233, 14, 91); imagestring ($im, 1, 5, 5, "A Simple Text String", $text_color); imagepng ($im); ------------------------------------------------- I get the following string back: ?PNG  IHDR2dþ&ñPLTEÿÿÿé['˝£ I checked out phpinfo(), realizing, that in Environment image/png isn't mentioned. What do I have to change in which config.file. Any ideas? I am running WAMP, Bigapache. Thanx! -- Mit herzlichen Grüßen Michael Timinger --------------------------------------- consult@nt An der Kaiserburg 21 40629 Düsseldorf --------------------------------------- fon: +49 700 TIMINGER (84646437) fax: +49 12126 WILDDUCK (94533825) mail: me@timinger.net --------------------------------------- "Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it." ---------------------------------------

« previous php.install (#10775) next »