PHP imagecolordeallocate - Deallocate the Image Color
imagecolordeallocate — Deallocates the image color.
Syntax
bool imagecolordeallocate ( resource $image , int $color )
The imagecolordeallocate() function cancels the color previously allocated by imagecolorallocate() or imagecolorallocatealpha() .
Example
The image of the output result of the example above is as follows:
Related Articles
- imagecolorallocate() Allocate a color for an image.
- imagecolorallocatealpha() Allocate a color and transparency for an image.
PHP Image Processing