PHP Portal » PHP Handbuch » imagecolordeallocate

Werbung

imagecolordeallocate


(PHP 4, PHP 5)

imagecolordeallocateLö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);