php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44849 imagecolorclosesthwb() is not avaible on Windows
Submitted: 2008-04-27 23:34 UTC Modified: 2008-07-20 19:03 UTC
From: kalle@php.net Assigned: pajoye
Status: Closed Package: GD related
PHP Version: 5.2.5 OS: Windows Vista
Private report: No CVE-ID:
 [2008-04-27 23:34 UTC] kalle@php.net
Description:
------------
The imagecolorclosesthwb() function is not avaible on Windows, I spoke to Pierre on IRC and he said it was a missing /D flag in config.w32

Reproduce code:
---------------
var_dump(function_exists('imagecolorclosesthwb'));

Expected result:
----------------
bool(true)

Actual result:
--------------
bool(false)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-04-28 20:22 UTC] kalle@php.net
imagecreatefromxpm() is also affected by this issue on Windows
 [2008-07-20 19:03 UTC] kalle@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2015 The PHP Group
All rights reserved.
Last updated: Mon Mar 02 05:04:24 2015 UTC