php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3638 no imagegif() or imagepng() support in 3.0.15
Submitted: 2000-02-26 17:03 UTC Modified: 2000-05-02 18:54 UTC
From: rui dot carmo at netc dot pt Assigned:
Status: Closed Package: Other
PHP Version: 3.0.15 OS: Windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: rui dot carmo at netc dot pt
New email:
PHP Version: OS:

 

 [2000-02-26 17:03 UTC] rui dot carmo at netc dot pt
I have reported this for the 3.0.14 version as well, but here goes:

There's no imagepng() in 3.0.15 either!!!

If you look through php3_gd.dll with an hex editor, you'll see an Imagepng error message (cannot write to file, or something), and what seems to be the stub/import entry for imagewbmp (for the WAP image format), but NO imagepng() or imagecreatefrompng() stubs, which renders GD support useless in Win32.

I'm now using fopen() to call PHP scripts on a Unix box solely for the purpose of generating GIFs, which is downright stupid...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-05-02 18:54 UTC] hholzgra at cvs dot php dot net
which output formats (GIF/PNG/JPEG) are available
depends on the capabilities of the GD library
installed on the system PHP was configured and
compiled on

configure up to 3.0.16 checks for the availbale 
output formats in the installed GD and enables 
only those functions supported by this GD

future versions will include dummie functions
who's only job is to report e.g.
"ImageGif: No PNG support in this PHP build"
instead of
"Call to undefined function:  imagepng()"
for unsupported functions

hope this will help a bit
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 19:01:29 2024 UTC