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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
7 + 39 = ?
Subscribe to this entry?

 
 [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: Fri May 10 12:01:32 2024 UTC