ImageColorDeAllocate

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

ImageColorDeAllocate --  イメージの色リソースを開放する

説明

int imagecolordeallocate (int im, int index)

関数ImageColorDeAllocate()は、関数 ImageColorAllocate()で確保された色を開放します。

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