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 (profile)
Status: Closed Package: GD related
PHP Version: 5.2.5 OS: Windows Vista
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: kalle@php.net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 10:01:29 2025 UTC