PHP Manual
Prev |  | Next

# ImageColorDeAllocate

(3.0.6 - 3.0.18 only, PHP 4 >= 4.0.0)

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

Prev | Home | Next
ImageColorAllocate | Up | ImageColorAt