reference/image/functions/imagecolormatch.xml
593ea510e853ff034e03f78a4be0daa41661c9d4
...
...
@@ -9,8 +9,8 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>bool</type><methodname>imagecolormatch</methodname>
12
-
<methodparam><type>resource</type><parameter>image1</parameter></methodparam>
13
-
<methodparam><type>resource</type><parameter>image2</parameter></methodparam>
12
+
<methodparam><type>GdImage</type><parameter>image1</parameter></methodparam>
13
+
<methodparam><type>GdImage</type><parameter>image2</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Makes the colors of the palette version of an image more closely match the true color version.
...
...
@@ -24,7 +24,7 @@
24
24
<term><parameter>image1</parameter></term>
25
25
<listitem>
26
26
<para>
27
-
A truecolor image link resource.
27
+
A truecolor image object.
28
28
</para>
29
29
</listitem>
30
30
</varlistentry>
...
...
@@ -32,7 +32,7 @@
32
32
<term><parameter>image2</parameter></term>
33
33
<listitem>
34
34
<para>
35
-
A palette image link resource pointing to an image that has the same
35
+
A palette image object pointing to an image that has the same
36
36
size as <parameter>image1</parameter>.
37
37
</para>
38
38
</listitem>
...
...
@@ -46,6 +46,31 @@
46
46
&return.success;
47
47
</para>
48
48
</refsect1>
49
+

50
+
<refsect1 role="changelog">
51
+
&reftitle.changelog;
52
+
<informaltable>
53
+
<tgroup cols="2">
54
+
<thead>
55
+
<row>
56
+
<entry>&Version;</entry>
57
+
<entry>&Description;</entry>
58
+
</row>
59
+
</thead>
60
+
<tbody>
61
+
<row>
62
+
<entry>8.0.0</entry>
63
+
<entry>
64
+
<parameter>image1</parameter> and <parameter>image2</parameter> expect
65
+
<classname>GdImage</classname> instances now; previously, <type>resource</type>s
66
+
were expected.
67
+
</entry>
68
+
</row>
69
+
</tbody>
70
+
</tgroup>
71
+
</informaltable>
72
+
</refsect1>
73
+

49
74
<refsect1 role="examples">
50
75
&reftitle.examples;
51
76
<example>
...
...
@@ -75,21 +100,14 @@ imagedestroy($im2);
75
100
</programlisting>
76
101
</example>
77
102
</refsect1>
78
-
<refsect1 role="notes">
79
-
&reftitle.notes;
80
-
&note.bundled.gd;
81
-
&note.gd.2;
82
-
</refsect1>
103
+

83
104
<refsect1 role="seealso">
84
105
&reftitle.seealso;
85
-
<para>
86
-
<simplelist>
87
-
<member><function>imagecreatetruecolor</function></member>
88
-
</simplelist>
89
-
</para>
106
+
<simplelist>
107
+
<member><function>imagecreatetruecolor</function></member>
108
+
</simplelist>
90
109
</refsect1>
91
110
</refentry>
92
-

93
111
<!-- Keep this comment at the end of the file
94
112
Local variables:
95
113
mode: sgml
96
114