PHP.nl

gd_info

gd_info

Retrieve information about the currently installed GD library

array **gd_info**

Gets information about the version and capabilities of the installed GD library.

Returns an associative array.

**Voorbeeld: Using **

<?php
var_dump(gd_info());
?>
array(10) {
  ["GD Version"]=>
  string(24) "bundled (2.1.0 compatible)"
  ["FreeType Support"]=>
  bool(false)
  ["GIF Read Support"]=>
  bool(true)
  ["GIF Create Support"]=>
  bool(false)
  ["JPEG Support"]=>
  bool(false)
  ["PNG Support"]=>
  bool(true)
  ["WBMP Support"]=>
  bool(true)
  ["XBM Support"]=>
  bool(false)
  ["WebP Support"]=>
  bool(false)
  ["AVIF Support"]=>
  bool(false)
}

imagepng``imagejpeg``imagegif``imagewbmp``imagewebp``imageavif``imagetypes