function image_gd_check_settings
Same name and namespace in other branches
- 7.x drupal-7.x/modules/system/image.gd.inc \image_gd_check_settings()
Verify GD2 settings (that the right version is actually installed).
Return value
A boolean indicating if the GD toolkit is avaiable on this machine.
Related topics
2 calls to image_gd_check_settings()
- image_gd_settings in drupal-6.x/
includes/ image.gd.inc - Retrieve settings for the GD2 toolkit.
- image_get_toolkit in drupal-6.x/
includes/ image.inc - Retrieve the name of the currently used toolkit.
Archivo
- drupal-6.x/
includes/ image.gd.inc, line 66 - GD2 toolkit for image manipulation within Drupal.
Código
function image_gd_check_settings() {
if ($check = get_extension_funcs('gd')) {
if (in_array('imagegd2', $check)) {
// GD2 support is available.
return TRUE;
}
}
return FALSE;
}