(PHP 4, PHP 5)
imagecolordeallocate — De-allocate a color for an image
De-allocates a color previously allocated with imagecolorallocate() or imagecolorallocatealpha().
Zasób obrazu, zwrócony przez jedną z funkcji tworzących obrazy, taką jak imagecreatetruecolor().
The color identifier.
Zwraca TRUE w przypadku powodzenia, FALSE w przypadku błędu.
Przykład #1 Using imagecolordeallocate()
<?php
$white = imagecolorallocate($im, 255, 255, 255);
imagecolordeallocate($im, $white);
?>