mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
gdImageWBMP has some bug in it. Using the php-internal one works.
This commit is contained in:
parent
383a5e7d49
commit
1026416153
@ -750,11 +750,7 @@ PHP_FUNCTION(imagejpeg)
|
||||
Output WBMP image to browser or file */
|
||||
PHP_FUNCTION(imagewbmp)
|
||||
{
|
||||
#ifdef HAVE_GD_WBMP
|
||||
_php_image_output(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_WBM, "WBMP", gdImageWBMP);
|
||||
#else
|
||||
_php_image_output(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_WBM, "WBMP", _php_image_output_wbmp);
|
||||
#endif
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user