ImageColorDeAllocate

(PHP3 >= 3.0.6, PHP4 )

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);