Google

NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.73 ">

ImageColorDeAllocate

(PHP 3>= 3.0.6, PHP 4 )

ImageColorDeAllocate --  Désalloue une couleur pour une image

Description

int imagecolordeallocate ( resource im, int index)

imagecolordeallocate() désalloue une couleur précédemment allouée avec la fonction imagecolorallocate().

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