imagecopymergegray <<< |
imagecopyresampled | imagecopyresized >>> |
6.14 Images 6 Référence des fonctions Manuel PHP . Introduction . Pré-requis . Installation . Configuration à l'exécution . Types de ressources . Constantes pré-définies . Exemples . 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 . imagecreatefromgd . imagecreatefromgd2 . imagecreatefromgd2part . imagecreatefromgif . imagecreatefromjpeg . imagecreatefrompng . imagecreatefromstring . imagecreatefromwbmp . imagecreatefromxbm . imagecreatefromxpm . imagecreatetruecolor . imagedashedline . imagedestroy . imageellipse . imagefill . imagefilledarc . imagefilledellipse . imagefilledpolygon . imagefilledrectangle . imagefilltoborder . imagefilter . imagefontheight . imagefontwidth . imageftbbox . imagefttext . imagegammacorrect . imagegd . imagegd2 . imagegif . imageinterlace . imageistruecolor . imagejpeg . imagelayereffect . 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 . imagexbm . iptcembed . iptcparse . jpeg2wbmp . png2wbmp |
6.14.38 imagecopyresampled()Copie, redimensionne, rééchantillonne une image[ Exemples avec imagecopyresampled ] PHP 4 >= 4.0.6, PHP 5 bool imagecopyresampled ( resource dst_image , resource src_image , int dst_x , int dst_y , int src_x , int src_y , int dst_w , int dst_h , int src_w , int src_h )imagecopyresampled copie une zone rectangulaire de l'image src_im vers l'image dst_im . Durant la copie, la zone est rééchantillonnée de manière à conserver la clarté de l'image durant une réduction. Cette fonction retourne TRUE en cas de succès, FALSE en cas d'échec. dst_im est l'image de destination, src_im est l'image source. Si les hauteurs et largeurs des source et destination diffèrent, l'image copiée sera étirée de manière appropriée. Les coordonnées sont celles du coin supérieur gauche. imagecopyresampled peut servir à copier des zones d'une image vers elle-même, (si dst_image est la même que src_image ) mais si les régions se chevauchent, les résultats sont imprévisibles.
|
<< | imagecopyresampled | >> |
imagecopymergegray | Images | imagecopyresized |