imagecolordeallocate désalloue la couleur color précédemment allouée avec la fonction imagecolorallocate , pour l'image image .
<?php $white = imagecolorallocate($im, 255, 255, 255); imagecolordeallocate($im, $white);?>
Voir aussi imagecolorallocate et imagecolorallocatealpha .