*imagecolordeallocate* -- De-allocate a color for an image

  bool imagecolordeallocate(resource image, int color)~

De-allocates a color previously allocated with |imagecolorallocate| or
|imagecolorallocatealpha|.

{ image}An image resource, returned by one of the image creation functions,
such as |imagecreatetruecolor|.

{color} The color identifier.

Returns TRUE on success or &false; on failure.

Using |imagecolordeallocate|

<?php >
  $white = imagecolorallocate($im, 255, 255, 255);
  imagecolordeallocate($im, $white);
?>





|imagecolorallocate| |imagecolorallocatealpha|

vim:ft=help:
