imagecolordeallocate(3) php man page | unix.com

Man Page: imagecolordeallocate

Operating Environment: php

Section: 3

IMAGECOLORDEALLOCATE(3) 						 1						   IMAGECOLORDEALLOCATE(3)

imagecolordeallocate - De-allocate a color for an image

SYNOPSIS
bool imagecolordeallocate (resource $image, int $color)
DESCRIPTION
De-allocates a color previously allocated with imagecolorallocate(3) or imagecolorallocatealpha(3).
PARAMETERS
o $ image -An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(3). o $color - The color identifier.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1 Using imagecolordeallocate(3) <?php $white = imagecolorallocate($im, 255, 255, 255); imagecolordeallocate($im, $white); ?>
SEE ALSO
imagecolorallocate(3), imagecolorallocatealpha(3). PHP Documentation Group IMAGECOLORDEALLOCATE(3)
Related Man Pages
imagestring(3) - php
imagecolorallocate(3) - php
imagepolygon(3) - php
imagefill(3) - php
imagefilledellipse(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Please Welcome Nicki Paul to the Moderator Team!