mirror of
https://github.com/php/php-src.git
synced 2024-09-25 11:57:26 +00:00
- add png and jpeg version info
This commit is contained in:
parent
4af80c7f90
commit
d2b7db73b4
@ -1327,10 +1327,16 @@ PHP_MINFO_FUNCTION(gd)
|
||||
php_info_print_table_row(2, "GIF Create Support", "enabled");
|
||||
#endif
|
||||
#ifdef HAVE_GD_JPG
|
||||
php_info_print_table_row(2, "JPG Support", "enabled");
|
||||
{
|
||||
char tmp[256];
|
||||
snprintf(tmp, sizeof(tmp), "%d", JPEG_LIB_VERSION);
|
||||
php_info_print_table_row(2, "JPG Support", "enabled");
|
||||
php_info_print_table_row(2, "libJPEG Version", tmp);
|
||||
}
|
||||
#endif
|
||||
#ifdef HAVE_GD_PNG
|
||||
php_info_print_table_row(2, "PNG Support", "enabled");
|
||||
php_info_print_table_row(2, "libPNG Version", PNG_LIBPNG_VER_STRING);
|
||||
#endif
|
||||
php_info_print_table_row(2, "WBMP Support", "enabled");
|
||||
#if defined(HAVE_GD_XPM) && defined(HAVE_GD_BUNDLED)
|
||||
|
Loading…
Reference in New Issue
Block a user