reference/image/functions/imagecolorstotal.xml
593ea510e853ff034e03f78a4be0daa41661c9d4
...
...
@@ -9,7 +9,7 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>int</type><methodname>imagecolorstotal</methodname>
12
-
<methodparam><type>resource</type><parameter>image</parameter></methodparam>
12
+
<methodparam><type>GdImage</type><parameter>image</parameter></methodparam>
13
13
</methodsynopsis>
14
14
<para>
15
15
Returns the number of colors in an image palette.
...
...
@@ -19,15 +19,7 @@
19
19
&reftitle.parameters;
20
20
<para>
21
21
<variablelist>
22
-
<varlistentry>
23
-
<term><parameter>image</parameter></term>
24
-
<listitem>
25
-
<para>
26
-
An image resource, returned by one of the image creation functions, such
27
-
as <function>imagecreatefromgif</function>.
28
-
</para>
29
-
</listitem>
30
-
</varlistentry>
22
+
&gd.image.description;
31
23
</variablelist>
32
24
</para>
33
25
</refsect1>
...
...
@@ -38,6 +30,24 @@
38
30
truecolor images.
39
31
</para>
40
32
</refsect1>
33
+

34
+
<refsect1 role="changelog">
35
+
&reftitle.changelog;
36
+
<informaltable>
37
+
<tgroup cols="2">
38
+
<thead>
39
+
<row>
40
+
<entry>&Version;</entry>
41
+
<entry>&Description;</entry>
42
+
</row>
43
+
</thead>
44
+
<tbody>
45
+
&gd.changelog.image-param;
46
+
</tbody>
47
+
</tgroup>
48
+
</informaltable>
49
+
</refsect1>
50
+

41
51
<refsect1 role="examples">
42
52
&reftitle.examples;
43
53
<para>
...
...
@@ -67,16 +77,13 @@ Total colors in image: 128
67
77
</refsect1>
68
78
<refsect1 role="seealso">
69
79
&reftitle.seealso;
70
-
<para>
71
-
<simplelist>
72
-
<member><function>imagecolorat</function></member>
73
-
<member><function>imagecolorsforindex</function></member>
74
-
<member><function>imageistruecolor</function></member>
75
-
</simplelist>
76
-
</para>
80
+
<simplelist>
81
+
<member><function>imagecolorat</function></member>
82
+
<member><function>imagecolorsforindex</function></member>
83
+
<member><function>imageistruecolor</function></member>
84
+
</simplelist>
77
85
</refsect1>
78
86
</refentry>
79
-

80
87
<!-- Keep this comment at the end of the file
81
88
Local variables:
82
89
mode: sgml
83
90