Rapide Advanced Adulte
 
 Web|Image|Shop|Video|News|Wmx|Mobile|Wiki|Ajouter ce moteur

     Manuel PHP     
Partager
 
 
Partager
Partager

 

Table :

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

  gd_info  


gd_info

(PHP 4 >= 4.3.0, PHP 5)

gd_info -- Retourne des informations à propos de la bibliothèque GD installée

Description

array gd_info ( void )

Retourne des informations à propos de la bibliothèque GD installée.

Valeurs de retour

Retourne un tableau associatif.

Tableau 1. Eléments du tableau retournés par gd_info()

AttributSignification
GD Versionchaîne de caractères décrivant la version de libgd qui est installée.
Freetype Supportbooléen. TRUE si le support Freetype est installé.
Freetype Linkagechaî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 Supportbooléen. TRUE si le support T1Lib est inclus.
GIF Read Supportbooléen. TRUE si le support pour la lecture des images GIF est inclus.
GIF Create Supportbooléen. TRUE si le support pour la création des images GIF est inclus.
JPG Supportbooléen. TRUE si le support de JPG est inclus.
PNG Supportbooléen. TRUE si le support de PNG est inclus.
WBMP Supportbooléen. TRUE si le support de WBMP est inclus.
XBM Supportboolé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)
}


    Annonces       
 

 Retour au chapitre Php

 

Top
 

Ajouter JungleKey.fr à votre Explorateur

 
 

About Us | © 2007 JungleKey




iBlack | Mobile | Wiki | Ajouter ce moteur
.