mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-19 06:16:58 +08:00
30 lines
1.5 KiB
HTML
30 lines
1.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
<title>取得一幅图像的调色板中颜色的数目</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.imagecolorstotal" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">imagecolorstotal</h1>
|
|
<p class="verinfo">(PHP 4, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">imagecolorstotal</span> — <span class="dc-title">取得一幅图像的调色板中颜色的数目</span></p>
|
|
|
|
</div>
|
|
<div class="refsect1 unknown-unknown-unknown-seealsr" id="refsect1-function.imagecolorstotal-unknown-unknown-unknown-seealsr">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>imagecolorstotal</strong></span>
|
|
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$image</code></span>
|
|
) : <span class="type">int</span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
本函数返回指定图像的调色板中的颜色数目。
|
|
</p>
|
|
<p class="para">
|
|
参见 <span class="function"><a href="imagecolorat.html" class="function">imagecolorat()</a></span> 和
|
|
<span class="function"><a href="imagecolorsforindex.html" class="function">imagecolorsforindex()</a></span>。
|
|
</p>
|
|
</div>
|
|
|
|
</div></div></div></body></html> |