exif_read_data <<< |
exif_thumbnail | gd_info >>> |
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.10 exif_thumbnail()Récupère la miniature d'une image TIFF ou JPEG[ Exemples avec exif_thumbnail ] PHP 4 >= 4.2.0 string exif_thumbnail ( string filename , int &width , int &height , int &imagetype )exif_thumbnail lit la miniature de l'image TIFF ou JPEG, dans le fichier filename . Si il n'y a pas de miniature, FALSE sera retourné. Les paramètres width , height et imagetype sont disponibles depuis PHP 4.3 et retourne les dimensions de la miniature, ainsi que son type. Il est possible que exif_thumbnail ne puisse pas créer une image, mais en détermine la taille. Dans ce cas, la valeur retournée par la fonction est FALSE , mais width et height se voient assignés une valeur. Si vous voulez exploiter les miniatures avec cette fonction, il faut nevoyer les en-têtes HTTP avec la fonction header . L'exemple ci-dessous montre comment faire :
Depuis PHP 4.3, la fonction exif_thumbnail lit aussi les miniatures dans les images au format TIFF .
|
<< | exif_thumbnail | >> |
exif_read_data | Images | gd_info |