Google

NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7">

ImageColorDeAllocate

(PHP 3>= 3.0.6, PHP 4 )

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

説明

int imagecolordeallocate ( int im, int index)

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

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