Bug #4151: No imagepng() or imagejpg() support in binary version 3.0.16

From: Date: Sat, 15 Apr 2000 16:59:47 +0000
Subject: Bug #4151: No imagepng() or imagejpg() support in binary version 3.0.16
Groups: php.dev 
Request: Send a blank email to php-dev+get-17932@lists.php.net to get a copy of this message
From: jsh@terma.com Operating system: windows NT 4.0 PHP version: 3.0.16 PHP Bug Type: Other Bug description: No imagepng() or imagejpg() support in binary version 3.0.16 I downloaded the binary version 3.0.16 from your site. It seems that there is still no support for imagepng() or imagejpg(). This is the error message I get of PHP script below: --------- Error: Fatal error: Call to unsupported or undefined function imagepng()in D:\Inetpub\wwwroot\php\Graphics\png1.php on line 16 ---------- Script: <?php //fill in graph parameters $GraphWidth = 400; $GraphHeight = 200; //create image $image = imagecreate($GraphWidth, $GraphHeight); //allocate colors $colorMagenta = imagecolorallocate($image, 0xFF, 0x00,0xFF); //output image header("Content-type: image/png"); ImagePng($image); ?>

« previous php.dev (#17932) next »