php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4151 No imagepng() or imagejpg() support in binary version 3.0.16
Submitted: 2000-04-15 12:59 UTC Modified: 2000-05-21 17:05 UTC
From: jsh at terma dot com Assigned:
Status: Closed Package: Other
PHP Version: 3.0.16 OS: windows NT 4.0
Private report: No CVE-ID: None
 [2000-04-15 12:59 UTC] jsh at terma dot com
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);
?>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-05-21 17:05 UTC] jim at cvs dot php dot net
the binary release does not support those functions.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 20:01:32 2024 UTC