imagecolordeallocate
imagecolordeallocate
De-allocate a color for an image
true **imagecolordeallocate** GdImage $image int $color
De-allocates a color previously allocated with
or
.
imagecolorallocate``imagecolorallocatealpha
colorThe color identifier.
return.true.always
**Voorbeeld: Using **
<?php
$white = imagecolorallocate($im, 255, 255, 255);
imagecolordeallocate($im, $white);
?>
imagecolorallocate``imagecolorallocatealpha