cvs: phpdoc /en/reference/image/functions image2wbmp.xml jpeg2wbmp.xml png2wbmp.xml
| From: | Kalle Sommer Nielsen | Date: | Sat, 23 Aug 2008 01:03:28 +0000 |
| Subject: | cvs: phpdoc /en/reference/image/functions image2wbmp.xml jpeg2wbmp.xml png2wbmp.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2077@lists.php.net to get a copy of this message | ||
kalle Sat Aug 23 01:03:28 2008 UTC
Modified files:
/phpdoc/en/reference/image/functions image2wbmp.xml jpeg2wbmp.xml
png2wbmp.xml
Log:
* Added imagedestroy() call to image2wbmp() example
* Fixed threshold parameter description for jpeg2wbmp() and png2wbmp()
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/image2wbmp.xml?r1=1.12&r2=1.13&diff_format=u
Index: phpdoc/en/reference/image/functions/image2wbmp.xml
diff -u phpdoc/en/reference/image/functions/image2wbmp.xml:1.12
phpdoc/en/reference/image/functions/image2wbmp.xml:1.13
--- phpdoc/en/reference/image/functions/image2wbmp.xml:1.12 Tue Aug 5 07:32:04 2008
+++ phpdoc/en/reference/image/functions/image2wbmp.xml Sat Aug 23 01:03:28 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.12 $ -->
+<!-- $Revision: 1.13 $ -->
<refentry xml:id="function.image2wbmp" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>image2wbmp</refname>
@@ -57,13 +57,12 @@
<programlisting role="php">
<![CDATA[
<?php
-
$file = 'php.png';
$image = imagecreatefrompng($file);
header('Content-type: ' . image_type_to_mime_type(IMAGETYPE_WBMP));
image2wbmp($image); // output the stream directly
-
+imagedestroy($image);
?>
]]>
</programlisting>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/jpeg2wbmp.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/image/functions/jpeg2wbmp.xml
diff -u phpdoc/en/reference/image/functions/jpeg2wbmp.xml:1.8
phpdoc/en/reference/image/functions/jpeg2wbmp.xml:1.9
--- phpdoc/en/reference/image/functions/jpeg2wbmp.xml:1.8 Tue Aug 5 07:32:05 2008
+++ phpdoc/en/reference/image/functions/jpeg2wbmp.xml Sat Aug 23 01:03:28 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<refentry xml:id="function.jpeg2wbmp" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>jpeg2wbmp</refname>
@@ -59,7 +59,7 @@
<term><parameter>threshold</parameter></term>
<listitem>
<para>
- Threshold value, between 0 and 255 (inclusive).
+ Threshold value, between 0 and 8 (inclusive).
</para>
</listitem>
</varlistentry>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/png2wbmp.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/image/functions/png2wbmp.xml
diff -u phpdoc/en/reference/image/functions/png2wbmp.xml:1.8
phpdoc/en/reference/image/functions/png2wbmp.xml:1.9
--- phpdoc/en/reference/image/functions/png2wbmp.xml:1.8 Tue Aug 5 07:32:05 2008
+++ phpdoc/en/reference/image/functions/png2wbmp.xml Sat Aug 23 01:03:28 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<refentry xml:id="function.png2wbmp" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>png2wbmp</refname>
@@ -59,7 +59,7 @@
<term><parameter>threshold</parameter></term>
<listitem>
<para>
- Threshold value, between 0 and 255 (inclusive).
+ Threshold value, between 0 and 8 (inclusive).
</para>
</listitem>
</varlistentry>