YouTip LogoYouTip

Php Gd Info

# PHP gd_info - Get Information About the Currently Installed GD Library [![Image 3: PHP Image Processing](#)PHP Image Processing](#) gd_info β€” Get information about the currently installed GD library. ### Syntax array gd_info ( void ) Returns an associative array describing the version and capabilities of the installed GD library. ### Example The output of the above example would be: array(9) { => string(24) "bundled (2.0 compatible)" => bool(false) => bool(false) => bool(true) => bool(false) => bool(false) => bool(true) => bool(true) => bool(false)} Explanation of the returned result: | Property | Meaning | | --- | --- | | GD Version | string value. Describes the version of the installed libgd. | | Freetype Support | boolean value. **TRUE** if Freetype support is installed. | | Freetype Linkage | string value. Describes the method of Freetype linkage. Possible values are: 'with freetype', 'with TTF library', and 'with unknown library'. This unit is only defined if the value of Freetype Support is **TRUE**. | | T1Lib Support | boolean value. **TRUE** if T1Lib support is included. | | GIF Read Support | boolean value. **TRUE** if support for reading GIF images is included. | | GIF Create Support | boolean value. **TRUE** if support for creating GIF images is included. | | JPG Support | boolean value. **TRUE** if JPG support is included. | | PNG Support | boolean value. **TRUE** if PNG support is included. | | WBMP Support | boolean value. **TRUE** if WBMP support is included. | | XBM Support | boolean value. **TRUE** if XBM support is included. | ### Related Articles Output image to browser or file in PNG format. Output image to browser or file in JPEG format. Output image to browser or file in GIF format. Output image to browser or file in WBMP format. Return the image types supported by the current PHP version. [![Image 4: PHP Image Processing](#)PHP Image Processing](#)
← Highcharts Setting DetailHighcharts Pie Charts β†’