array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'function.imagecolordeallocate.php', 1 => 'imagecolordeallocate', ), 'up' => array ( 0 => 'ref.image.php', 1 => 'GD ve Görüntü İşlevleri', ), 'prev' => array ( 0 => 'function.imagecolorclosesthwb.php', 1 => 'imagecolorclosesthwb', ), 'next' => array ( 0 => 'function.imagecolorexact.php', 1 => 'imagecolorexact', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'tr', 'path' => 'reference/image/functions/imagecolordeallocate.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5, PHP 7, PHP 8)
imagecolordeallocate — Bir rengi tanımsız yapar
imagecolorallocate() veya imagecolorallocatealpha() ile tanımlanmış bir rengin tanıtıcısını siler.
görüntü
imagecreatetruecolor() gibi bir görüntü oluşturma işlevinden dönen bir GdImage nesnesi.
renk
Renk tanıtıcısı.
Sürüm: | Açıklama |
---|---|
8.0.0 |
görüntü bağımsız değişkeninde artık
bir GdImage nesnesi aktarmak gerekiyor; evvelce
resource türünde geçerli bir gd değeri
gerekirdi.
|
Örnek 1 - imagecolordeallocate() örneği
<?php
$beyaz = imagecolorallocate($im, 255, 255, 255);
imagecolordeallocate($im, $beyaz);
?>