ImageColorsTotal
<<<
ImageColorTransparent ImageCopy
>>>

6.41 Images
6 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
getimagesize
image_type_to_mime_type
image2wbmp
ImageAlphaBlending
ImageArc
ImageChar
ImageCharUp
ImageColorAllocate
ImageColorAt
ImageColorClosest
ImageColorClosestAlpha
imagecolorclosesthwb
ImageColorDeAllocate
ImageColorExact
ImageColorExactAlpha
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
ImageJPEG
ImageLine
ImageLoadFont
ImagePaletteCopy
ImagePNG
ImagePolygon
ImagePSBBox
imagepscopyfont
ImagePSEncodeFont
ImagePsExtendFont
ImagePSFreeFont
ImagePSLoadFont
ImagePsSlantFont
ImagePSText
ImageRectangle
imagerotate
imagesetbrush
ImageSetPixel
imagesetstyle
ImageSetThickness
ImageSetTile
ImageString
ImageStringUp
ImageSX
ImageSY
ImageTrueColorToPalette
ImageTTFBBox
ImageTTFText
ImageTypes
ImageWBMP
iptcembed
iptcparse
JPEG2WBMP
PNG2WBMP
read_exif_data

6.41.31 ImageColorTransparent()Définit la couleur transparente

[ Exemples avec imagecolortransparent ]   PHP 3, PHP 4

int  imagecolortransparent ( resource   im , int   col )

imagecolortransparent permet de choisir la couleur transparente d'une image, et de lui donner la valeur de col. im est un identifiant d'image, retourné par imagecreate et col est un identifiant de couleur retourné par imagecolorallocate .

L'identifiant de la nouvelle (ou courante) couleur transparente est retourné.

<< ImageColorTransparent >>
ImageColorsTotal Images ImageCopy