Forum und email

imagecolordeallocate

(PHP 4, PHP 5)

imagecolordeallocate — Löscht eine Farbdefinition

Beschreibung:

int imagecolordeallocate ( resource $im , int $index )

Die Funktion ImageColorDeAllocate() löscht eine vorher über ImageColorAllocate() ermittelte Farbe.

$weiss = ImageColorAllocate($im, 255, 255, 255);
ImageColorDeAllocate($im, $weiss);