(PHP 3>= 3.0.6, PHP 4 )
imagecolordeallocate() désalloue une couleur précédemment allouée avec la fonction imagecolorallocate().
<?php $white = imagecolorallocate($im, 255, 255, 255); imagecolordeallocate($im, $white); ?>