ImageColorDeAllocate
(PHP3 >= 3.0.6 , PHP4)
ImageColorDeAllocate --- 减少一个分配给图形的颜色
语法 :
int imagecolordeallocate
(int im, int index)说明 :
ImageColorDeAllocate( )减少一个先前ImageColorAllocate( )分配给图形的颜色。
Example :
<?php
$white = ImageColorAllocate($im, 255, 255, 255);
ImageColorDeAllocate($im, $white);
?>