colder Fri Aug 25 17:33:25 2006 UTC
Modified files:
/phpdoc/en/reference/image/functions imagepng.xml imagewbmp.xml
imagegif.xml
Log:
NULL value as a filename
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagepng.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/image/functions/imagepng.xml
diff -u phpdoc/en/reference/image/functions/imagepng.xml:1.5
phpdoc/en/reference/image/functions/imagepng.xml:1.6
--- phpdoc/en/reference/image/functions/imagepng.xml:1.5 Mon Jun 21
11:45:37 2004
+++ phpdoc/en/reference/image/functions/imagepng.xml Fri Aug 25 17:33:25 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/image.xml, last change in rev 1.7 -->
<refentry id="function.imagepng">
<refnamediv>
@@ -14,10 +14,15 @@
<methodparam
choice="opt"><type>string</type><parameter>filename</parameter></methodparam>
</methodsynopsis>
<para>
- The <function>imagepng</function> outputs a GD image stream
- (<parameter>image</parameter>) in PNG format to standard output
- (usually the browser) or, if a filename is given by the
- <parameter>filename</parameter> it outputs the image to the file.
+ <function>imagepng</function> creates the <acronym>PNG</acronym>
+ file in filename from the image <parameter>image</parameter>. The
+ <parameter>image</parameter> argument is the return from the
+ <function>imagecreate</function> or <literal>imagecreatefrom*</literal>
+ function.
+ </para>
+ <para>
+ The filename argument is optional, and if left off or filled
+ with a &null; value, the raw image stream will be output directly.
<informalexample>
<programlisting role="php">
<![CDATA[
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagewbmp.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/image/functions/imagewbmp.xml
diff -u phpdoc/en/reference/image/functions/imagewbmp.xml:1.5
phpdoc/en/reference/image/functions/imagewbmp.xml:1.6
--- phpdoc/en/reference/image/functions/imagewbmp.xml:1.5 Wed Aug 10
04:48:11 2005
+++ phpdoc/en/reference/image/functions/imagewbmp.xml Fri Aug 25 17:33:25 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/image.xml, last change in rev 1.2 -->
<refentry id="function.imagewbmp">
<refnamediv>
@@ -21,8 +21,8 @@
is the return from the <function>imagecreatetruecolor</function> function.
</para>
<para>
- The filename argument is optional, and if left off, the raw image
- stream will be output directly.
+ The filename argument is optional, and if left off or filled with a
+ &null; value, the raw image stream will be output directly.
By sending an <acronym>image/vnd.wap.wbmp</acronym> content-type
using <function>header</function>, you can create
a PHP script that outputs WBMP images directly.
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagegif.xml?r1=1.11&r2=1.12&diff_format=u
Index: phpdoc/en/reference/image/functions/imagegif.xml
diff -u phpdoc/en/reference/image/functions/imagegif.xml:1.11
phpdoc/en/reference/image/functions/imagegif.xml:1.12
--- phpdoc/en/reference/image/functions/imagegif.xml:1.11 Fri Dec 2
09:30:45 2005
+++ phpdoc/en/reference/image/functions/imagegif.xml Fri Aug 25 17:33:25 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<!-- splitted from ./en/functions/image.xml, last change in rev 1.3 -->
<refentry id="function.imagegif">
<refnamediv>
@@ -27,10 +27,11 @@
image format will be <acronym>GIF89a</acronym>.
</para>
<para>
- The filename argument is optional, and if left off, the raw image
- stream will be output directly. By sending an image/gif
- content-type using <function>header</function>, you can create a
- PHP script that outputs <acronym>GIF</acronym> images directly.
+ The filename argument is optional, and if left off or filled
+ with a &null; value, the raw image stream will be output directly.
+ By sending an image/gif content-type using <function>header</function>,
+ you can create a PHP script that outputs <acronym>GIF</acronym>
+ images directly.
<note>
<para>
Since all <acronym>GIF</acronym> support was removed from the