reference/image/functions/imagecreatefromwbmp.xml
593ea510e853ff034e03f78a4be0daa41661c9d4
...
...
@@ -8,13 +8,19 @@
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
-
<type>resource</type><methodname>imagecreatefromwbmp</methodname>
11
+
<type class="union"><type>GdImage</type><type>false</type></type><methodname>imagecreatefromwbmp</methodname>
12
12
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
13
13
</methodsynopsis>
14
14
<para>
15
15
<function>imagecreatefromwbmp</function> returns an image identifier
16
16
representing the image obtained from the given filename.
17
17
</para>
18
+
<note>
19
+
<simpara>
20
+
WBMP images are Wireless Bitmaps, not Windows Bitmaps. The latter can be
21
+
loaded with <function>imagecreatefrombmp</function>.
22
+
</simpara>
23
+
</note>
18
24
&tip.fopen-wrapper;
19
25
</refsect1>
20
26
<refsect1 role="parameters">
...
...
@@ -36,6 +42,30 @@
36
42
&reftitle.returnvalues;
37
43
<para>&gd.return.identifier;</para>
38
44
</refsect1>
45
+

46
+
<refsect1 role="changelog">
47
+
&reftitle.changelog;
48
+
<informaltable>
49
+
<tgroup cols="2">
50
+
<thead>
51
+
<row>
52
+
<entry>&Version;</entry>
53
+
<entry>&Description;</entry>
54
+
</row>
55
+
</thead>
56
+
<tbody>
57
+
<row>
58
+
<entry>8.0.0</entry>
59
+
<entry>
60
+
On success, this function returns a <classname>GDImage</classname> instance now;
61
+
previously, a <type>resource</type> was returned.
62
+
</entry>
63
+
</row>
64
+
</tbody>
65
+
</tgroup>
66
+
</informaltable>
67
+
</refsect1>
68
+

39
69
<refsect1 role="examples">
40
70
&reftitle.examples;
41
71
<example>
...
...
@@ -76,13 +106,7 @@ imagedestroy($img);
76
106
</programlisting>
77
107
</example>
78
108
</refsect1>
79
-
<refsect1 role="notes">
80
-
&reftitle.notes;
81
-
&note.config.wbmp;
82
-
&warn.no-win32-fopen-wrapper;
83
-
</refsect1>
84
109
</refentry>
85
-

86
110
<!-- Keep this comment at the end of the file
87
111
Local variables:
88
112
mode: sgml
89
113