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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jsh at terma dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 01:01:34 2025 UTC