PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

imagecolorexact> <imagecolorclosesthwb
Last updated: Sat, 24 Mar 2007

view this page in

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()



add a note add a note User Contributed Notes
imagecolordeallocate
There are no user contributed notes for this page.

imagecolorexact> <imagecolorclosesthwb
Last updated: Sat, 24 Mar 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites