★ wanayoo — archive 1999 http://php.net/manual/cs/function.imagefill.phpNouvelle recherche | Portail wanayoo
PHP Thursday, March 29, 2001  
downloads | documentation | faq | support | reporting bugs | links 

search for in the  

lookup:
PHP ManuálPHP Manuál
GraphicsGraphics
 GetImageSizeGetImageSize
 ImageArcImageArc
 ImageCharImageChar
 ImageCharUpImageCharUp
 ImageColorAllocateImageColorAllocate
 ImageColorDeAllocateImageColorDeAllocate
 ImageColorAtImageColorAt
 ImageColorClosestImageColorClosest
 ImageColorExactImageColorExact
 ImageColorResolveImageColorResolve
 ImageGammaCorrectImageGammaCorrect
 ImageColorSetImageColorSet
 ImageColorsForIndexImageColorsForIndex
 ImageColorsTotalImageColorsTotal
 ImageColorTransparentImageColorTransparent
 ImageCopyImageCopy
 ImageCopyResizedImageCopyResized
 ImageCreateImageCreate
 ImageCreateFromGIFImageCreateFromGIF
 ImageCreateFromJPEGImageCreateFromJPEG
 ImageCreateFromPNGImageCreateFromPNG
 ImageCreateFromWBMPImageCreateFromWBMP
 ImageCreateFromStringImageCreateFromString
 ImageDashedLineImageDashedLine
 ImageDestroyImageDestroy
 ImageFillImageFill
 ImageFilledPolygonImageFilledPolygon
 ImageFilledRectangleImageFilledRectangle
 ImageFillToBorderImageFillToBorder
 ImageFontHeightImageFontHeight
 ImageFontWidthImageFontWidth
 ImageGIFImageGIF
 ImagePNGImagePNG
 ImageJPEGImageJPEG
 ImageWBMPImageWBMP
 ImageInterlaceImageInterlace
 ImageLineImageLine
 ImageLoadFontImageLoadFont
 ImagePolygonImagePolygon
 ImagePSBBoxImagePSBBox
 ImagePSEncodeFontImagePSEncodeFont
 ImagePSFreeFontImagePSFreeFont
 ImagePSLoadFontImagePSLoadFont
 ImagePsExtendFontImagePsExtendFont
 ImagePsSlantFontImagePsSlantFont
 ImagePSTextImagePSText
 ImageRectangleImageRectangle
 ImageSetPixelImageSetPixel
 ImageStringImageString
 ImageStringUpImageStringUp
 ImageSXImageSX
 ImageSYImageSY
 ImageTTFBBoxImageTTFBBox
 ImageTTFTextImageTTFText
 ImageTypesImageTypes
 read_exif_dataread_exif_data

previousImageDestroy
ImageFilledPolygonnext

Last updated: Sat, 17 Mar 2001
view this page in English | Brazilian Portuguese | Czech | Dutch | French | German | Hungarian | Italian | Japanese | Korean | Spanish | Plain HTML

ImageFill

(PHP 3, PHP 4 )

ImageFill -- Flood fill

Description

int imagefill (int im, int x, int y, int col)

ImageFill() performs a flood fill starting at coordinate x, y (top left is 0, 0) with color col in the image im.

User Contributed Notes: ImageFill
aqmprod@iname.com
09-Jan-2000 05:08
This function does not seem to work with images already been transparent. If you fill at x=0, y=0, and there are still transparent parts that you did
not reach with your fill, they change to a different color.

The ImageColorSet function seems to be the solution, but i can't work with transparancy.

previousImageDestroy
ImageFilledPolygonnext

Last updated: Sat, 17 Mar 2001
add note | about notes

show source | credits | stats | mirror sites:  

Copyright © 1998-2001 The PHP Group
All rights reserved.
This mirror generously provided by: chek.com
Last updated: Thu Mar 29 13:01:54 2001 EST