diff --git a/functions/image.xml b/functions/image.xml index 6255d248cc..6819044689 100644 --- a/functions/image.xml +++ b/functions/image.xml @@ -203,6 +203,39 @@ $black = ImageColorAllocate ($im, 0, 0, 0); + + + + ImageColorDeAllocate + + De-allocate a color for an image + + + + Description + + int + imagecolordeallocate + + int + im + + int + index + + + + The ImageColorDeAllocate function de-allocates a color previously + allocated with the ImageColorAllocate function. + + +$white = ImageColorAllocate($im, 255, 255, 255); +ImageColorDeAllocate($im, $white); + + + + +