svn: /phpdoc/zh/trunk/reference/image/functions/ imagewebp.xml
| From: | Dai Jie | Date: | Fri, 07 Oct 2016 13:43:30 +0000 |
| Subject: | svn: /phpdoc/zh/trunk/reference/image/functions/ imagewebp.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-4699@lists.php.net to get a copy of this message | ||
daijie Fri, 07 Oct 2016 13:43:30 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=340360
Log:
英文文档里面有quality参数,中文文档里面还没有。
--
Provided by anonymous 76133 (chenjiablog@gmail.com)
Changed paths:
U phpdoc/zh/trunk/reference/image/functions/imagewebp.xml
Modified: phpdoc/zh/trunk/reference/image/functions/imagewebp.xml
===================================================================
--- phpdoc/zh/trunk/reference/image/functions/imagewebp.xml 2016-10-07 13:42:24 UTC (rev 340359)
+++ phpdoc/zh/trunk/reference/image/functions/imagewebp.xml 2016-10-07 13:43:30 UTC (rev 340360)
@@ -15,6 +15,7 @@
<type>bool</type><methodname>imagewebp</methodname>
<methodparam><type>resource</type><parameter>image</parameter></methodparam>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>quality</parameter><initializer>80</initializer></methodparam>
</methodsynopsis>
<para>
将 <parameter>image</parameter> 参数指定的图像以 WebP
格式输出到浏览器或者保存到文件。
@@ -32,6 +33,14 @@
<para>&gd.image.path;</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>quality</parameter></term>
+ <listitem>
+ <para>
+ <parameter>quality</parameter>
范围从0(最低质量,最小文件提交)到100 (最好质量, 最大文件体积.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>