PHP GD get gd information


 

PHP GD get gd information

This example shows how to get gd information Using php gd Library.

This example shows how to get gd information Using php gd Library.

<?php

echo '<pre> ';

print_r(gd_info());

echo '</pre> ';

?>

After running the program you will get the following output

 Array
(
    [GD Version] => bundled (2.0.34 compatible)
    [FreeType Support] => 1
    [FreeType Linkage] => with freetype
    [T1Lib Support] => 
    [GIF Read Support] => 1
    [GIF Create Support] => 1
    [JPEG Support] => 1
    [PNG Support] => 1
    [WBMP Support] => 1
    [XPM Support] => 
    [XBM Support] => 1
    [JIS-mapped Japanese Font Support] => 
)

Ads