svn: /phpdoc/en/trunk/reference/image/functions/ imagexbm.xml
| From: | Christoph Michael Becker | Date: | Sat, 11 Jul 2015 20:52:56 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/image/functions/ imagexbm.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13453@lists.php.net to get a copy of this message | ||
cmb Sat, 11 Jul 2015 20:52:56 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=337142
Log:
improved documentation of imagexbm according to #53640
Bug: https://bugs.php.net/53640 (Open) makes file but text
is not there, nor some of border
Changed paths:
U phpdoc/en/trunk/reference/image/functions/imagexbm.xml
Modified: phpdoc/en/trunk/reference/image/functions/imagexbm.xml
===================================================================
--- phpdoc/en/trunk/reference/image/functions/imagexbm.xml 2015-07-11 16:05:58 UTC (rev 337141)
+++ phpdoc/en/trunk/reference/image/functions/imagexbm.xml 2015-07-11 20:52:56 UTC (rev 337142)
@@ -17,6 +17,12 @@
Outputs or save an <acronym>XBM</acronym> version of the given
<parameter>image</parameter>.
</para>
+ <note>
+ <simpara>
+ <function>imagexbm</function> doesn't apply any padding, so the image width
+ has to be a multiple of 8.
+ </simpara>
+ </note>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
@@ -35,7 +41,8 @@
<para>
You can set the foreground color with this parameter by setting an
identifier obtained from <function>imagecolorallocate</function>.
- The default foreground color is black.
+ The default foreground color is black. All other colors are treated as
+ background.
</para>
</listitem>
</varlistentry>