function image_gd_check_settings
Verify GD2 settings (that the right version is actually installed).
Return value
A boolean indicating if the GD toolkit is available on this machine.
Related topics
3 calls to image_gd_check_settings()
- ImageToolkitGdTestCase::testManipulations in modules/
simpletest/ tests/ image.test  - Since PHP can't visually check that our images have been manipulated properly, build a list of expected color values for each of the corners and the expected height and widths for the final images.
 - image_gd_settings in modules/
system/ image.gd.inc  - Retrieve settings for the GD2 toolkit.
 - system_image_toolkits in modules/
system/ system.module  - Implements hook_image_toolkits().
 
2 string references to 'image_gd_check_settings'
- ImageToolkitGdTestCase::testManipulations in modules/
simpletest/ tests/ image.test  - Since PHP can't visually check that our images have been manipulated properly, build a list of expected color values for each of the corners and the expected height and widths for the final images.
 - system_image_toolkits in modules/
system/ system.module  - Implements hook_image_toolkits().
 
File
- 
              modules/
system/ image.gd.inc, line 58  
Code
function image_gd_check_settings() {
  // GD2 support is available.
  return function_exists('imagegd2');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.