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: Sun, 25 Nov 2007

view this page in

imagecolordeallocate

(PHP 4, PHP 5)

imagecolordeallocate — De-allocate a color for an image

설명

bool imagecolordeallocate ( resource $image , int $color )

De-allocates a color previously allocated with imagecolorallocate() or imagecolorallocatealpha().

매개변수

font

내장 글꼴 1, 2, 3, 4, 5(큰 숫자가 큰 글꼴)나 imageloadfont()로 등록한 글꼴 식별자를 사용할 수 있습니다.

color

The color identifier

반환값

성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다.

예제

Example#1 Using imagecolordeallocate()

<?php
$white 
imagecolorallocate($im255255255);
imagecolordeallocate($im$white);
?>



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

imagecolorexact> <imagecolorclosesthwb
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites