ImageColorDeAllocate

(PHP 3>= 3.0.6, PHP 4 >= 4.0b1)

ImageColorDeAllocate --  De-allocate a color for an image

Description

int imagecolordeallocate (int im, int index)

The ImageColorDeAllocate() function de-allocates a color previously allocated with the ImageColorAllocate() function.


$white = ImageColorAllocate($im, 255, 255, 255);
ImageColorDeAllocate($im, $white);