Retrieve information about the currently installed GD library
Syntax
gd_info(): array
Return
Returns an associative array.
Examples
1 · return
<? $return = gd_info(); print_r($return); ?>
Array ( [GD Version] => 2.3.3 [FreeType Support] => 1 [FreeType Linkage] => with freetype [GIF Read Support] => 1 [GIF Create Support] => 1 [JPEG Support] => 1 [PNG Support] => 1 [WBMP Support] => 1 [XPM Support] => 1 [XBM Support] => 1 [WebP Support] => 1 [BMP Support] => 1 [AVIF Support] => 1 [TGA Read Support] => 1 [JIS-mapped Japanese Font Support] => )