圖形函式庫

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

?>


上一頁 首頁 下一頁