1 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 available on this machine.

Related topics

File

core/modules/system/image.gd.inc, line 45
GD2 toolkit for image manipulation within Backdrop.

Code

function image_gd_check_settings() {
  // GD2 support is available.
  return function_exists('imagegd2');
}