|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-05-21 17:05 UTC] jim at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 09 02:00:01 2025 UTC |
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); ?>