imagecolordeallocate
(PHP 4, PHP 5)
imagecolordeallocate — De-allocate a color for an image
Popis
bool imagecolordeallocate ( resource $image, int $color )De-allocates a color previously allocated with imagecolorallocate() or imagecolorallocatealpha().
Seznam parametrů
- image
An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
- color
The color identifier
Návratové hodnoty
Vrací TRUE při úspěchu, FALSE při selhání.
Příklady
Příklad 781. Using imagecolordeallocate()
<?php
$white = imagecolorallocate($im, 255, 255, 255);
imagecolordeallocate($im, $white);
?>
Viz také
| imagecolorallocate() |
| imagecolorallocatealpha() |
imagecolordeallocate
There are no user contributed notes for this page.
