php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14461 No GD2 support
Submitted: 2001-12-12 12:29 UTC Modified: 2001-12-12 13:24 UTC
From: gs at wigeogis dot at Assigned:
Status: Not a bug Package: GD related
PHP Version: 4.1.0 OS: Windows 2000
Private report: No CVE-ID: None
 [2001-12-12 12:29 UTC] gs at wigeogis dot at
After executing following script, the message
*Warning: ImageGd2: No GD2 support in this PHP build in c:\inetpub\wwwroot\php\testimg.php on line 3*
is displayed.

Script:
<?
$img = ImageCreateFromPNG ('C:\temp\png\image.png');
ImageGD2 ($img, 'C:\temp\png\test.gd2');
?>

The extension module php_gd.dll is included in php.ini
and was part of php-4.1.0-Win32.zip (Download 12.12.2001)

I thought, GD2 support is enabled in Version 4.1.0?

Greetings
Gerhard

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-12 13:21 UTC] sniper@php.net
GD2 support is only available with libgd 2. The windows binaries
are not build with it as the current release of libgd is buggy.

--Jani

 [2001-12-12 13:24 UTC] rasmus@php.net
It would be nice if the Windows binary shipped with both DLL's.  Sure, there are some bugs in GD2, but there are also a bunch of features there that aren't in GD1.  There are also patches to most of the GD2 bugs now, so we could patch up GD2 and put out a working GD2 extension.  I should get a Windows build environment set up here to try to do this.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 11:01:27 2024 UTC