Services webmasters
Partenaires
Jeux concours gratuits
 
exif_thumbnail
<<<
gd_info getimagesize
>>>

7.40 Images
7 Index des fonctions
 Manuel PHP

Introduction
Pré-requis
Installation
Configuration à l'exécution
Types de ressources
Constantes prédefinies
Exemples
exif_imagetype
exif_read_data
exif_thumbnail
->gd_info
getimagesize
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
imagecopy
imagecopymerge
imagecopymergegray
imagecopyresampled
imagecopyresized
imagecreate
imagecreatefromgd
imagecreatefromgd2
imagecreatefromgd2part
imagecreatefromgif
imagecreatefromjpeg
imagecreatefrompng
imagecreatefromstring
imagecreatefromwbmp
imagecreatefromxbm
imagecreatefromxpm
imagecreatetruecolor
imagedashedline
imagedestroy
imageellipse
imagefill
imagefilledarc
imagefilledellipse
imagegd
imagegd2
imagegif
imageinterlace
imageistruecolor
imagejpeg
imageline
imageloadfont
imagepalettecopy
imagepng
imagepolygon
imagepsbbox
imagepscopyfont
imagepsencodefont
imagepsextendfont
imagepsfreefont
imagepsloadfont
imagepsslantfont
imagepstext
imagerectangle
imagerotate
imagesavealpha
imagesetbrush
imagesetpixel
imagesetstyle
imagesetthickness
imagesettile
imagestring
imagestringup
imagesx
imagesy
imagetruecolortopalette
imagettfbbox
imagettftext
imagetypes
imagewbmp
iptcembed
iptcparse
jpeg2wbmp
png2wbmp
read_exif_data

7.40.11 gd_info() Retourne des informations à propos de la librairie GD installée

[ Exemples avec gd_info ]   PHP 4 >= 4.3.0

array  gd_info ( void )

Retourne un tableau associatif décrivant la version et les possibilités de la librairie GD installée.

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 de 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.

Utilisation de gd_info

<?php
var_dump
(gd_info());

/* Sortie typique
   ==============

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)
}

*/
?>

Voir aussi imagepng , imagejpeg , imagegif , imagewbmp , et imagetypes .

<< gd_info >>
exif_thumbnail Images getimagesize
Services webmasters
Les manuels
 
CoursPHP.com - Reproduction interdite -