Recherche sur les Noms des fonctions php/mysql
gd_info()
Définition
Retourne des informations à propos de la bibliothèque GD installée - (PHP 4 >= 4.3.0, PHP 5)Description
array gd_info
( void
)
Retourne des informations à propos de la bibliothèque GD installée.
Valeurs de retour
Retourne un tableau associatif.
| Attribut | Signification |
|---|---|
| GD Version | chaîne de caractères décrivant la version de libgd qui est installée. |
| Freetype Support | booléen. TRUE si le support Freetype est installé. |
| Freetype Linkage | chaîne de caractères décrivant la façon avec laquelle Freetype a été lié. Les valeurs attendues sont : 'with freetype', 'with TTF library' et 'with unknown library'. Cet élément ne sera défini que si Freetype Support est évalué TRUE. |
| T1Lib Support | booléen. TRUE si le support T1Lib est inclus. |
| GIF Read Support | booléen. TRUE si le support pour la lecture des images GIF est inclus. |
| GIF Create Support | booléen. TRUE si le support pour la création des images GIF est inclus. |
| JPG Support | booléen. TRUE si le support de JPG est inclus. |
| PNG Support | booléen. TRUE si le support de PNG est inclus. |
| WBMP Support | booléen. TRUE si le support de WBMP est inclus. |
| XBM Support | booléen. TRUE si le support de XBM est inclus. |
Exemples
Exemple #1 Exemple avec gd_info()
<?php
var_dump(gd_info());
?>
L'exemple ci-dessus va afficher quelque chose de similaire à :
array(9) { ["GD Version"]=> string(24) "bundled (2.0 compatible)" ["FreeType Support"]=> bool(false) ["T1Lib Support"]=> bool(false) ["GIF Read Support"]=> bool(true) ["GIF Create Support"]=> bool(false) ["JPG Support"]=> bool(false) ["PNG Support"]=> bool(true) ["WBMP Support"]=> bool(true) ["XBM Support"]=> bool(false) }
Bout de code utilisant la fonction gd_info()
Aucun bout de code n'utilise la fonction gd_info(). N'hésitez pas à en proposer un en vous connectant à l'espace membre.
Connexion
Les fonctions
Références
- gd_info
- getimagesize
- image_type_to_extension...
- image_type_to_mime_type...
- image2wbmp
- imagealphablending
- imageantialias
- imagearc
- imagechar
- imagecharup
- imagecolorallocate
- imagecolorallocatealpha...
- imagecolorat
- imagecolorclosest
- imagecolorclosestalpha...
- imagecolorclosesthwb...
- imagecolordeallocate...
- imagecolorexact
- imagecolorexactalpha...
- imagecolormatch
- imagecolorresolve
- imagecolorresolvealpha...
- imagecolorset
- imagecolorsforindex...
- imagecolorstotal
- imagecolortransparent...
- imageconvolution
- imagecopy
- imagecopymerge
- imagecopymergegray
- imagecopyresampled
- imagecopyresized
- imagecreate
- imagecreatefromgd2
- imagecreatefromgd2part...
- imagecreatefromgd
- imagecreatefromgif
- imagecreatefromjpeg...
- imagecreatefrompng
- imagecreatefromstring...
- imagecreatefromwbmp...
- imagecreatefromxbm
- imagecreatefromxpm
- imagecreatetruecolor...
- imagedashedline
- imagedestroy
- imageellipse
- imagefill
- imagefilledarc
- imagefilledellipse
- imagefilledpolygon
- imagefilledrectangle...
- imagefilltoborder
- imagefilter
- imagefontheight
- imagefontwidth
- imageftbbox
- imagefttext
- imagegammacorrect
- imagegd2
- imagegd
- imagegif
- imagegrabscreen
- imagegrabwindow
- imageinterlace
- imageistruecolor
- imagejpeg
- imagelayereffect
- imageline
- imageloadfont
- imagepalettecopy
- imagepng
- imagepolygon
- imagepsbbox
- imagepsencodefont
- imagepsextendfont
- imagepsfreefont
- imagepsloadfont
- imagepsslantfont
- imagepstext
- imagerectangle
- imagerotate
- imagesavealpha
- imagesetbrush
- imagesetpixel
- imagesetstyle
- imagesetthickness
- imagesettile
- imagestring
- imagestringup
- imagesx
- imagesy
- imagetruecolortopalette...
- imagettfbbox
- imagettftext
- imagetypes
- imagewbmp
- imagexbm
- iptcembed
- iptcparse
- jpeg2wbmp
- png2wbmp





