SommaireTelecharger la documentationChapitre suivantChapitre precedent  

  .: News :.: Edito :.: Scripts :.: Forum :.: Erreurs :.: Jobs :. 
 
Sommaire

Images

getimagesize
image2wbmp
ImageAlphaBlending
ImageArc
imagefilledarc
ImageEllipse
ImageFilledEllipse
ImageChar
ImageCharUp
ImageColorAllocate
ImageColorDeAllocate
ImageColorAt
ImageColorClosestAlpha
ImageColorClosest
ImageColorExact
ImageColorExactAlpha
ImageColorResolve
ImageColorResolveAlpha
ImageGammaCorrect
ImageColorSet
ImageColorsForIndex
ImageColorsTotal
ImageColorTransparent
ImageCopy
ImageCopyMerge
ImageCopyMergeGray
ImageCopyResized
ImageCopyResampled
ImageCreate
imagecreatefromgif
ImageCreateTrueColor
ImageTrueColorToPalette
ImageCreateFromJPEG
ImageCreateFromPNG
ImageCreateFromWBMP
ImageCreateFromString
ImageCreateFromXBM
ImageCreateFromXPM
ImageDashedLine
ImageDestroy
ImageFill
ImageFilledPolygon
ImageFilledRectangle
ImageFillToBorder
ImageFontHeight
ImageFontWidth
ImageGif
ImagePNG
ImageJPEG
ImageWBMP
ImageInterlace
ImageLine
ImageLoadFont
ImagePaletteCopy
ImagePolygon
ImagePSBBox
ImagePSEncodeFont
ImagePSFreeFont
ImagePSLoadFont
ImagePsExtendFont
ImagePsSlantFont
ImagePSText
ImageRectangle
ImageSetPixel
imagesetbrush
ImageSetTile
ImageSetThickness
ImageString
ImageStringUp
ImageSX
ImageSY
ImageTTFBBox
ImageTTFText
ImageTypes
JPEG2WBMP
PNG2WBMP
read_exif_data

6.41.50 ImageWBMP

[ Exemples avec ImageWBMP ]  

Description

int imagewbmp(resource im ,[string filename ],[int foreground ])

imagewbmp crée l'image WBMP dans le fichier filename, à partir de l'image im. Le paramètre im a été créé avec la fonction imagecreate.

filename est optionnel, et s'il est omis, l'image sera envoyée directement au client. En plaçant l'en-tête image/vnd.wap.wbmp, dans le champs "content-type", vous pourrez afficher une image WBMP.
Note

Le support WBMP n'est disponible que si PHP a été compilé avec GD-1.8 ou plus récent.

En passant le paramètre optionnel foreground, vous pouvez choisir la couleur de fond. Utilisez l'identifiant retourné par imagecolorallocate comme valeur de ce paramètre. La couleur de fond par défaut est noir.

Voir aussi image2wbmp, imagepng, imagegif, imagejpeg et imagetypes.


Chapitre précédentChapitre suivantAccueil nexen.net