(3.0.6 - 3.0.18 only, PHP 4 >= 4.0.0)
int imagecolordeallocate (int im, int index)
int imagecolordeallocate
関数ImageColorDeAllocate()は、関数 ImageColorAllocate()で確保された色を開放します。
$white = ImageColorAllocate($im, 255, 255, 255); ImageColorDeAllocate($im, $white);