Easy Tutorial
❮ Func Date Gettimeofday Php Mysql Select ❯

PHP imagecolorset - Set Color for Specified Palette Index

PHP Image Processing

imagecolorset — Set color for specified palette index.

Syntax

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

This function sets the specified index in the palette to the specified color. It is useful for creating effects similar to flood-fill in a palette image without the overhead of actually performing the fill.

Related Articles

PHP Image Processing

❮ Func Date Gettimeofday Php Mysql Select ❯