Latest web development tutorials

PHP imagecolorset - to set the color palette index specified

PHP Image Processing PHP Image Processing

imagecolorset - to set the color palette index specified.

grammar

void imagecolorset ( resource $image , int $index , int $red , int $green , int $blue )

This function will set the palette specified index to the specified color. To create a similar area fill (flood-fill) in the palette of the image effect is useful, eliminating the need really to fill overhead.

related articles

PHP Image Processing PHP Image Processing