Pré-requis <<< |
Installation | Configuration à l'exécution >>> |
7.41 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 . imagefilledpolygon . imagefilledrectangle . imagefilltoborder . imagefontheight . imagefontwidth . imageftbbox . imagefttext . imagegammacorrect . 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.41.3 Installation
Pour activer le support de GD, vous devez compiler PHP avec l'option --with-gd[=DIR] , où DIR est le dossier d'installation de GD. Il est recommandé d'utiliser la version de GD qui est distribué avec PHP, en utilisant simplement l'option --with-gd . Sous Windows, vous devez inclure la librairie php_gd2.dll comme extension dans le fichier php.ini . Il y a aussi la librairie php_gd.dll pour GD version 1.x mais elle n'est pas recommandée. Augmentez les possibilités des GD de gérer d'autres formats d'images en spécifiant les options de compilations suivantes :
Augmentez les possibilités de GD pour qu'elle manipule différentes types de polices de caractères en ajoutant les options de compilations suivantes :
|
<< | Installation | >> |
Pré-requis | Images | Configuration à l'exécution |