Query: imagecolordeallocate
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
IMAGECOLORDEALLOCATE(3) 1 IMAGECOLORDEALLOCATE(3) imagecolordeallocate - De-allocate a color for an imageSYNOPSISbool imagecolordeallocate (resource $image, int $color)DESCRIPTIONDe-allocates a color previously allocated with imagecolorallocate(3) or imagecolorallocatealpha(3).PARAMETERSo $ image -An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(3). o $color - The color identifier.RETURN VALUESReturns TRUE on success or FALSE on failure.EXAMPLESExample #1 Using imagecolordeallocate(3) <?php $white = imagecolorallocate($im, 255, 255, 255); imagecolordeallocate($im, $white); ?>SEE ALSOimagecolorallocate(3), imagecolorallocatealpha(3). PHP Documentation Group IMAGECOLORDEALLOCATE(3)
Related Man Pages |
---|
imagestring(3) - php |
imagecolorallocatealpha(3) - php |
imagecharup(3) - php |
imagefilledellipse(3) - php |
imagefilledrectangle(3) - php |