mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
{jpeg,png}2wbmp: add mysterious threshold parameter to prototype; various: remove goofy redundant text
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@66650 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
9f43ca071d
commit
012d343b4c
1 changed files with 20 additions and 18 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.73 $ -->
|
||||
<!-- $Revision: 1.74 $ -->
|
||||
<reference id="ref.image">
|
||||
<title>Image functions</title>
|
||||
<titleabbrev>Image</titleabbrev>
|
||||
|
@ -159,7 +159,7 @@
|
|||
<function>Image2WBMP</function> creates the
|
||||
<acronym>WBMP</acronym> file in filename from the image
|
||||
<parameter>im</parameter>. The <parameter>im</parameter> argument
|
||||
is the return from the <function>ImageCreate</function> function.
|
||||
is the return from <function>ImageCreate</function>.
|
||||
</para>
|
||||
<para>
|
||||
The filename argument is optional, and if left off, the raw image
|
||||
|
@ -167,13 +167,13 @@
|
|||
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.
|
||||
<note>
|
||||
<para>
|
||||
WBMP support is only available in PHP if PHP was compiled
|
||||
against GD-1.8 or later.
|
||||
</para>
|
||||
</note>
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
WBMP support is only available if PHP was compiled
|
||||
against GD-1.8 or later.
|
||||
</para>
|
||||
</note>
|
||||
<para>
|
||||
See also <function>ImageWBMP</function>.
|
||||
</para>
|
||||
|
@ -1501,13 +1501,13 @@ function LoadWBMP ($imgname) {
|
|||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
<note>
|
||||
<para>
|
||||
WBMP support is only available in PHP if PHP was compiled
|
||||
against GD-1.8 or later.
|
||||
</para>
|
||||
</note>
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
WBMP support is only available if PHP was compiled
|
||||
against GD-1.8 or later.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
@ -1995,7 +1995,7 @@ ImagePng($im);
|
|||
</para>
|
||||
<note>
|
||||
<para>
|
||||
JPEG support is only available in PHP if PHP was compiled
|
||||
JPEG support is only available if PHP was compiled
|
||||
against GD-1.8 or later.
|
||||
</para>
|
||||
</note>
|
||||
|
@ -2052,7 +2052,7 @@ ImagePng($im);
|
|||
a PHP script that outputs WBMP images directly.
|
||||
<note>
|
||||
<para>
|
||||
WBMP support is only available in PHP if PHP was compiled
|
||||
WBMP support is only available if PHP was compiled
|
||||
against GD-1.8 or later.
|
||||
</para>
|
||||
</note>
|
||||
|
@ -3318,6 +3318,7 @@ if (ImageTypes() & IMG_PNG) {
|
|||
<paramdef>string <parameter>wbmpname</parameter></paramdef>
|
||||
<paramdef>int <parameter>d_height</parameter></paramdef>
|
||||
<paramdef>int <parameter>d_width</parameter></paramdef>
|
||||
<paramdef>int <parameter>threshold</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
|
@ -3330,7 +3331,7 @@ if (ImageTypes() & IMG_PNG) {
|
|||
<para>
|
||||
<note>
|
||||
<para>
|
||||
WBMP support is only available in PHP if PHP was compiled
|
||||
WBMP support is only available if PHP was compiled
|
||||
against GD-1.8 or later.
|
||||
</para>
|
||||
</note>
|
||||
|
@ -3357,6 +3358,7 @@ if (ImageTypes() & IMG_PNG) {
|
|||
<paramdef>string <parameter>wbmpname</parameter></paramdef>
|
||||
<paramdef>int <parameter>d_height</parameter></paramdef>
|
||||
<paramdef>int <parameter>d_width</parameter></paramdef>
|
||||
<paramdef>int <parameter>threshold</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
|
@ -3369,7 +3371,7 @@ if (ImageTypes() & IMG_PNG) {
|
|||
<para>
|
||||
<note>
|
||||
<para>
|
||||
WBMP support is only available in PHP if PHP was compiled
|
||||
WBMP support is only available if PHP was compiled
|
||||
against GD-1.8 or later.
|
||||
</para>
|
||||
</note>
|
||||
|
|
Loading…
Reference in a new issue