mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Fix various bugs inside gd documentation part 3/3
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@264210 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
141c8f890a
commit
e4f35b22e2
76 changed files with 647 additions and 312 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<refentry xml:id="function.image-type-to-extension" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>image_type_to_extension</refname>
|
||||
|
@ -46,6 +46,34 @@
|
|||
A string with the extension corresponding to the given image type.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
<para>
|
||||
This function does not require the GD image library.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>image_type_to_extension</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
// Create image instance
|
||||
$im = imagecreatetruecolor(100, 100);
|
||||
|
||||
// Save image
|
||||
imagepng($im, './test' . image_type_to_extension(IMAGETYPE_PNG));
|
||||
imagedestroy($im);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<refentry xml:id="function.image-type-to-mime-type" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>image_type_to_mime_type</refname>
|
||||
|
@ -25,7 +25,7 @@
|
|||
<term><parameter>imagetype</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
One of the <literal>IMAGETYPE_XXX</literal> constants
|
||||
One of the <literal>IMAGETYPE_XXX</literal> constants.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<!-- $Revision: 1.12 $ -->
|
||||
<refentry xml:id="function.image2wbmp" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>image2wbmp</refname>
|
||||
|
@ -36,7 +36,7 @@
|
|||
<term><parameter>threshold</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Threshold value, between 0 and 255 (inclusive)
|
||||
Threshold value, between 0 and 255 (inclusive).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.13 $ -->
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<refentry xml:id="function.imagearc" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagearc</refname>
|
||||
|
@ -32,7 +32,7 @@
|
|||
<term><parameter>cx</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate of the center
|
||||
x-coordinate of the center.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -40,7 +40,7 @@
|
|||
<term><parameter>cy</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate of the center
|
||||
y-coordinate of the center.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -48,7 +48,7 @@
|
|||
<term><parameter>width</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The arc width
|
||||
The arc width.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -56,7 +56,7 @@
|
|||
<term><parameter>height</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The arc height
|
||||
The arc height.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -83,7 +83,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
A color identifier created with
|
||||
<function>imagecolorallocate</function>
|
||||
<function>imagecolorallocate</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<!-- $Revision: 1.15 $ -->
|
||||
<refentry xml:id="function.imagechar" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagechar</refname>
|
||||
|
@ -34,7 +34,7 @@
|
|||
<term><parameter>x</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate of the start
|
||||
x-coordinate of the start.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -42,7 +42,7 @@
|
|||
<term><parameter>y</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate of the start
|
||||
y-coordinate of the start.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -50,7 +50,7 @@
|
|||
<term><parameter>c</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The character to draw
|
||||
The character to draw.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -59,7 +59,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
A color identifier created with
|
||||
<function>imagecolorallocate</function>
|
||||
<function>imagecolorallocate</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.13 $ -->
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<refentry xml:id="function.imagecharup" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecharup</refname>
|
||||
|
@ -31,7 +31,7 @@
|
|||
<term><parameter>x</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate of the start
|
||||
x-coordinate of the start.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -39,7 +39,7 @@
|
|||
<term><parameter>y</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate of the start
|
||||
y-coordinate of the start.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -47,7 +47,7 @@
|
|||
<term><parameter>c</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The character to draw
|
||||
The character to draw.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -56,7 +56,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
A color identifier created with
|
||||
<function>imagecolorallocate</function>
|
||||
<function>imagecolorallocate</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.15 $ -->
|
||||
<!-- $Revision: 1.16 $ -->
|
||||
<refentry xml:id="function.imagecolorallocate" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecolorallocate</refname>
|
||||
|
@ -40,7 +40,7 @@
|
|||
<term><parameter>red</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of red component
|
||||
Value of red component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -48,7 +48,7 @@
|
|||
<term><parameter>green</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of green component
|
||||
Value of green component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -56,7 +56,7 @@
|
|||
<term><parameter>blue</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of blue component
|
||||
Value of blue component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<!-- $Revision: 1.12 $ -->
|
||||
<refentry xml:id="function.imagecolorallocatealpha" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecolorallocatealpha</refname>
|
||||
|
@ -30,7 +30,7 @@
|
|||
<term><parameter>red</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of red component
|
||||
Value of red component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -38,7 +38,7 @@
|
|||
<term><parameter>green</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of green component
|
||||
Value of green component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -46,7 +46,7 @@
|
|||
<term><parameter>blue</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of blue component
|
||||
Value of blue component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<refentry xml:id="function.imagecolorat" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecolorat</refname>
|
||||
|
@ -33,7 +33,7 @@
|
|||
<term><parameter>x</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate of the point
|
||||
x-coordinate of the point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -41,7 +41,7 @@
|
|||
<term><parameter>y</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate of the point
|
||||
y-coordinate of the point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<refentry xml:id="function.imagecolorclosest" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecolorclosest</refname>
|
||||
|
@ -37,7 +37,7 @@
|
|||
<term><parameter>red</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of red component
|
||||
Value of red component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -45,7 +45,7 @@
|
|||
<term><parameter>green</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of green component
|
||||
Value of green component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -53,7 +53,7 @@
|
|||
<term><parameter>blue</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of blue component
|
||||
Value of blue component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<refentry xml:id="function.imagecolorclosestalpha" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecolorclosestalpha</refname>
|
||||
|
@ -30,7 +30,7 @@
|
|||
<term><parameter>red</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of red component
|
||||
Value of red component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -38,7 +38,7 @@
|
|||
<term><parameter>green</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of green component
|
||||
Value of green component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -46,7 +46,7 @@
|
|||
<term><parameter>blue</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of blue component
|
||||
Value of blue component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<refentry xml:id='function.imagecolorclosesthwb' xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecolorclosesthwb</refname>
|
||||
|
@ -30,7 +30,7 @@
|
|||
<term><parameter>red</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of red component
|
||||
Value of red component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -38,7 +38,7 @@
|
|||
<term><parameter>green</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of green component
|
||||
Value of green component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -46,7 +46,7 @@
|
|||
<term><parameter>blue</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of blue component
|
||||
Value of blue component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<refentry xml:id="function.imagecolordeallocate" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecolordeallocate</refname>
|
||||
|
@ -27,7 +27,7 @@
|
|||
<term><parameter>color</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The color identifier
|
||||
The color identifier.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<refentry xml:id="function.imagecolorexact" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecolorexact</refname>
|
||||
|
@ -32,7 +32,7 @@
|
|||
<term><parameter>red</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of red component
|
||||
Value of red component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -40,7 +40,7 @@
|
|||
<term><parameter>green</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of green component
|
||||
Value of green component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -48,7 +48,7 @@
|
|||
<term><parameter>blue</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of blue component
|
||||
Value of blue component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<refentry xml:id="function.imagecolorexactalpha" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecolorexactalpha</refname>
|
||||
|
@ -29,7 +29,7 @@
|
|||
<term><parameter>red</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of red component
|
||||
Value of red component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -37,7 +37,7 @@
|
|||
<term><parameter>green</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of green component
|
||||
Value of green component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -45,7 +45,7 @@
|
|||
<term><parameter>blue</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of blue component
|
||||
Value of blue component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<refentry xml:id="function.imagecolormatch" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecolormatch</refname>
|
||||
|
@ -13,7 +13,7 @@
|
|||
<methodparam><type>resource</type><parameter>image2</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Makes the colors of the palette version of an image more closely match the true color version
|
||||
Makes the colors of the palette version of an image more closely match the true color version.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
|
@ -24,7 +24,7 @@
|
|||
<term><parameter>image1</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A truecolor image link resource
|
||||
A truecolor image link resource.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -33,7 +33,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
A palette image link resource pointing to an image that has the same
|
||||
size as <parameter>image1</parameter>
|
||||
size as <parameter>image1</parameter>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<refentry xml:id="function.imagecolorresolve" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecolorresolve</refname>
|
||||
|
@ -33,7 +33,7 @@
|
|||
<term><parameter>red</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of red component
|
||||
Value of red component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -41,7 +41,7 @@
|
|||
<term><parameter>green</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of green component
|
||||
Value of green component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -49,7 +49,7 @@
|
|||
<term><parameter>blue</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of blue component
|
||||
Value of blue component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<refentry xml:id="function.imagecolorresolvealpha" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecolorresolvealpha</refname>
|
||||
|
@ -30,7 +30,7 @@
|
|||
<term><parameter>red</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of red component
|
||||
Value of red component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -38,7 +38,7 @@
|
|||
<term><parameter>green</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of green component
|
||||
Value of green component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -46,7 +46,7 @@
|
|||
<term><parameter>blue</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of blue component
|
||||
Value of blue component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<refentry xml:id="function.imagecolorset" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecolorset</refname>
|
||||
|
@ -31,7 +31,7 @@
|
|||
<term><parameter>index</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
An index in the palette
|
||||
An index in the palette.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -39,7 +39,7 @@
|
|||
<term><parameter>red</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of red component
|
||||
Value of red component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -47,7 +47,7 @@
|
|||
<term><parameter>green</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of green component
|
||||
Value of green component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -55,7 +55,7 @@
|
|||
<term><parameter>blue</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value of blue component
|
||||
Value of blue component.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<refentry xml:id="function.imagecolorsforindex" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecolorsforindex</refname>
|
||||
|
@ -25,7 +25,7 @@
|
|||
<term><parameter>index</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The color index
|
||||
The color index.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<refentry xml:id="function.imagecolortransparent" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecolortransparent</refname>
|
||||
|
@ -26,7 +26,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
A color identifier created with
|
||||
<function>imagecolorallocate</function>
|
||||
<function>imagecolorallocate</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry xml:id="function.imageconvolution" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imageconvolution</refname>
|
||||
|
@ -44,7 +44,7 @@
|
|||
<term><parameter>offset</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Color offset
|
||||
Color offset.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry xml:id="function.imagecopy" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecopy</refname>
|
||||
|
@ -36,7 +36,7 @@
|
|||
<term><parameter>dst_im</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Destination image link resource
|
||||
Destination image link resource.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -44,7 +44,7 @@
|
|||
<term><parameter>src_im</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Source image link resource
|
||||
Source image link resource.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -52,7 +52,7 @@
|
|||
<term><parameter>dst_x</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate of destination point
|
||||
x-coordinate of destination point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -60,7 +60,7 @@
|
|||
<term><parameter>dst_y</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate of destination point
|
||||
y-coordinate of destination point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -68,7 +68,7 @@
|
|||
<term><parameter>src_x</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate of source point
|
||||
x-coordinate of source point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -76,7 +76,7 @@
|
|||
<term><parameter>src_y</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate of source point
|
||||
y-coordinate of source point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -84,7 +84,7 @@
|
|||
<term><parameter>src_w</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Source width
|
||||
Source width.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -92,7 +92,7 @@
|
|||
<term><parameter>src_h</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Source height
|
||||
Source height.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<refentry xml:id="function.imagecopymerge" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecopymerge</refname>
|
||||
|
@ -37,7 +37,7 @@
|
|||
<term><parameter>dst_im</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Destination image link resource
|
||||
Destination image link resource.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -45,7 +45,7 @@
|
|||
<term><parameter>src_im</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Source image link resource
|
||||
Source image link resource.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -53,7 +53,7 @@
|
|||
<term><parameter>dst_x</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate of destination point
|
||||
x-coordinate of destination point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -61,7 +61,7 @@
|
|||
<term><parameter>dst_y</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate of destination point
|
||||
y-coordinate of destination point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -69,7 +69,7 @@
|
|||
<term><parameter>src_x</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate of source point
|
||||
x-coordinate of source point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -77,7 +77,7 @@
|
|||
<term><parameter>src_y</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate of source point
|
||||
y-coordinate of source point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -85,7 +85,7 @@
|
|||
<term><parameter>src_w</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Source width
|
||||
Source width.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -93,7 +93,7 @@
|
|||
<term><parameter>src_h</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Source height
|
||||
Source height.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<refentry xml:id="function.imagecopymergegray" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecopymergegray</refname>
|
||||
|
@ -42,7 +42,7 @@
|
|||
<term><parameter>dst_im</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Destination image link resource
|
||||
Destination image link resource.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -50,7 +50,7 @@
|
|||
<term><parameter>src_im</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Source image link resource
|
||||
Source image link resource.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -58,7 +58,7 @@
|
|||
<term><parameter>dst_x</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate of destination point
|
||||
x-coordinate of destination point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -66,7 +66,7 @@
|
|||
<term><parameter>dst_y</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate of destination point
|
||||
y-coordinate of destination point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -74,7 +74,7 @@
|
|||
<term><parameter>src_x</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate of source point
|
||||
x-coordinate of source point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -82,7 +82,7 @@
|
|||
<term><parameter>src_y</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate of source point
|
||||
y-coordinate of source point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -90,7 +90,7 @@
|
|||
<term><parameter>src_w</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Source width
|
||||
Source width.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -98,7 +98,7 @@
|
|||
<term><parameter>src_h</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Source height
|
||||
Source height.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.13 $ -->
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<refentry xml:id="function.imagecopyresampled" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecopyresampled</refname>
|
||||
|
@ -53,7 +53,7 @@
|
|||
<term><parameter>dst_im</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Destination image link resource
|
||||
Destination image link resource.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -61,7 +61,7 @@
|
|||
<term><parameter>src_im</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Source image link resource
|
||||
Source image link resource.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -69,7 +69,7 @@
|
|||
<term><parameter>dst_x</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate of destination point
|
||||
x-coordinate of destination point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -77,7 +77,7 @@
|
|||
<term><parameter>dst_y</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate of destination point
|
||||
y-coordinate of destination point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -85,7 +85,7 @@
|
|||
<term><parameter>src_x</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate of source point
|
||||
x-coordinate of source point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -93,7 +93,7 @@
|
|||
<term><parameter>src_y</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate of source point
|
||||
y-coordinate of source point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -101,7 +101,7 @@
|
|||
<term><parameter>dst_w</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Destination width
|
||||
Destination width.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -109,7 +109,7 @@
|
|||
<term><parameter>dst_h</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Destination height
|
||||
Destination height.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -117,7 +117,7 @@
|
|||
<term><parameter>src_w</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Source width
|
||||
Source width.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -125,7 +125,7 @@
|
|||
<term><parameter>src_h</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Source height
|
||||
Source height.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<!-- $Revision: 1.12 $ -->
|
||||
<refentry xml:id="function.imagecopyresized" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecopyresized</refname>
|
||||
|
@ -53,7 +53,7 @@
|
|||
<term><parameter>dst_im</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Destination image link resource
|
||||
Destination image link resource.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -61,7 +61,7 @@
|
|||
<term><parameter>src_im</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Source image link resource
|
||||
Source image link resource.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -69,7 +69,7 @@
|
|||
<term><parameter>dst_x</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate of destination point
|
||||
x-coordinate of destination point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -77,7 +77,7 @@
|
|||
<term><parameter>dst_y</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate of destination point
|
||||
y-coordinate of destination point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -85,7 +85,7 @@
|
|||
<term><parameter>src_x</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate of source point
|
||||
x-coordinate of source point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -93,7 +93,7 @@
|
|||
<term><parameter>src_y</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate of source point
|
||||
y-coordinate of source point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -101,7 +101,7 @@
|
|||
<term><parameter>dst_w</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Destination width
|
||||
Destination width.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -109,7 +109,7 @@
|
|||
<term><parameter>dst_h</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Destination height
|
||||
Destination height.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -117,7 +117,7 @@
|
|||
<term><parameter>src_w</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Source width
|
||||
Source width.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -125,7 +125,7 @@
|
|||
<term><parameter>src_h</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Source height
|
||||
Source height.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.12 $ -->
|
||||
<!-- $Revision: 1.13 $ -->
|
||||
<refentry xml:id="function.imagecreate" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecreate</refname>
|
||||
|
@ -28,7 +28,7 @@
|
|||
<term><parameter>width</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The image width
|
||||
The image width.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -36,7 +36,7 @@
|
|||
<term><parameter>height</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The image height
|
||||
The image height.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<refentry xml:id='function.imagecreatefromgd' xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecreatefromgd</refname>
|
||||
|
@ -12,7 +12,7 @@
|
|||
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Create a new image from GD file or URL
|
||||
Create a new image from GD file or URL.
|
||||
</para>
|
||||
&tip.fopen-wrapper;
|
||||
</refsect1>
|
||||
|
@ -24,7 +24,7 @@
|
|||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Path to the GD file
|
||||
Path to the GD file.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<refentry xml:id='function.imagecreatefromgd2' xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecreatefromgd2</refname>
|
||||
|
@ -12,7 +12,7 @@
|
|||
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Create a new image from GD2 file or URL
|
||||
Create a new image from GD2 file or URL.
|
||||
</para>
|
||||
&tip.fopen-wrapper;
|
||||
</refsect1>
|
||||
|
@ -24,7 +24,7 @@
|
|||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Path to the GD2 image
|
||||
Path to the GD2 image.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<refentry xml:id='function.imagecreatefromgd2part' xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecreatefromgd2part</refname>
|
||||
|
@ -16,7 +16,7 @@
|
|||
<methodparam><type>int</type><parameter>height</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Create a new image from a given part of GD2 file or URL
|
||||
Create a new image from a given part of GD2 file or URL.
|
||||
</para>
|
||||
&tip.fopen-wrapper;
|
||||
</refsect1>
|
||||
|
@ -28,7 +28,7 @@
|
|||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Path to the GD2 image
|
||||
Path to the GD2 image.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -36,7 +36,7 @@
|
|||
<term><parameter>srcX</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate of source point
|
||||
x-coordinate of source point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -44,7 +44,7 @@
|
|||
<term><parameter>srcY</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate of source point
|
||||
y-coordinate of source point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -52,7 +52,7 @@
|
|||
<term><parameter>width</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Source width
|
||||
Source width.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -60,7 +60,7 @@
|
|||
<term><parameter>height</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Source height
|
||||
Source height.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.19 $ -->
|
||||
<!-- $Revision: 1.20 $ -->
|
||||
<refentry xml:id="function.imagecreatefromgif" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecreatefromgif</refname>
|
||||
|
@ -38,6 +38,7 @@ function LoadGif ($imgname)
|
|||
header("Content-Type: image/gif");
|
||||
$img = LoadGif("bogus.image");
|
||||
imagegif($img);
|
||||
imagedestroy($img);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
|
@ -59,7 +60,7 @@ imagegif($img);
|
|||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Path to the GIF image
|
||||
Path to the GIF image.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.19 $ -->
|
||||
<!-- $Revision: 1.20 $ -->
|
||||
<refentry xml:id="function.imagecreatefromjpeg" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecreatefromjpeg</refname>
|
||||
|
@ -41,6 +41,7 @@ function LoadJpeg($imgname)
|
|||
header("Content-Type: image/jpeg");
|
||||
$img = LoadJpeg("bogus.image");
|
||||
imagejpeg($img);
|
||||
imagedestroy($img);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
|
@ -62,7 +63,7 @@ imagejpeg($img);
|
|||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Path to the JPEG image
|
||||
Path to the JPEG image.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.15 $ -->
|
||||
<!-- $Revision: 1.16 $ -->
|
||||
<refentry xml:id="function.imagecreatefrompng" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecreatefrompng</refname>
|
||||
|
@ -41,6 +41,7 @@ function LoadPNG($imgname)
|
|||
header("Content-Type: image/png");
|
||||
$img = LoadPNG("bogus.image");
|
||||
imagepng($img);
|
||||
imagedestroy($img);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
|
@ -62,7 +63,7 @@ imagepng($img);
|
|||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Path to the PNG image
|
||||
Path to the PNG image.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.12 $ -->
|
||||
<!-- $Revision: 1.13 $ -->
|
||||
<refentry xml:id="function.imagecreatefromstring" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecreatefromstring</refname>
|
||||
|
@ -26,7 +26,7 @@
|
|||
<term><parameter>image</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A string containing the image data
|
||||
A string containing the image data.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -59,6 +59,7 @@ $im = imagecreatefromstring($data);
|
|||
if ($im !== false) {
|
||||
header('Content-Type: image/png');
|
||||
imagepng($im);
|
||||
imagedestroy($im);
|
||||
}
|
||||
else {
|
||||
echo 'An error occurred.';
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<!-- $Revision: 1.15 $ -->
|
||||
<refentry xml:id="function.imagecreatefromwbmp" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecreatefromwbmp</refname>
|
||||
|
@ -53,7 +53,7 @@ function LoadWBMP($imgname)
|
|||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Path to the WBMP image
|
||||
Path to the WBMP image.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<refentry xml:id="function.imagecreatefromxbm" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecreatefromxbm</refname>
|
||||
|
@ -26,7 +26,7 @@
|
|||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Path to the XBM image
|
||||
Path to the XBM image.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<refentry xml:id="function.imagecreatefromxpm" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecreatefromxpm</refname>
|
||||
|
@ -25,7 +25,7 @@
|
|||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Path to the XPM image
|
||||
Path to the XPM image.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<!-- $Revision: 1.15 $ -->
|
||||
<refentry xml:id="function.imagecreatetruecolor" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagecreatetruecolor</refname>
|
||||
|
@ -33,7 +33,7 @@
|
|||
<term><parameter>width</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Image width
|
||||
Image width.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -41,7 +41,7 @@
|
|||
<term><parameter>height</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Image height
|
||||
Image height.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<refentry xml:id="function.imagedashedline" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagedashedline</refname>
|
||||
|
@ -22,6 +22,70 @@
|
|||
instead.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
&gd.image.description;
|
||||
<varlistentry>
|
||||
<term><parameter>x1</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Upper left x coordinate.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>y1</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Upper left y coordinate 0, 0 is the top left corner of the image.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>x2</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Bottom right x coordinate.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>y2</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Bottom right y coordinate.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>color</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The fill color. A color identifier created with
|
||||
<function>imagecolorallocate</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Always returns true
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>imagesetstyle</function></member>
|
||||
<member><function>imageline</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<refentry xml:id="function.imagedestroy" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagedestroy</refname>
|
||||
|
@ -30,6 +30,27 @@
|
|||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title>Using <function>imagedestroy</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
// create a 100 x 100 image
|
||||
$im = imagecreatetruecolor(100, 100);
|
||||
|
||||
// alter or save the image
|
||||
|
||||
// frees image from memory
|
||||
imagedestroy($im);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<!-- $Revision: 1.15 $ -->
|
||||
<refentry xml:id="function.imageellipse" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imageellipse</refname>
|
||||
|
@ -29,7 +29,7 @@
|
|||
<term><parameter>cx</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate of the center
|
||||
x-coordinate of the center.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -37,7 +37,7 @@
|
|||
<term><parameter>cy</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate of the center
|
||||
y-coordinate of the center.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -45,7 +45,7 @@
|
|||
<term><parameter>width</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The ellipse width
|
||||
The ellipse width.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -53,7 +53,7 @@
|
|||
<term><parameter>height</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The ellipse height
|
||||
The ellipse height.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -62,7 +62,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
The color of the ellipse. A color identifier created with
|
||||
<function>imagecolorallocate</function>
|
||||
<function>imagecolorallocate</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<!-- $Revision: 1.12 $ -->
|
||||
<refentry xml:id="function.imagefill" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagefill</refname>
|
||||
|
@ -29,7 +29,7 @@
|
|||
<term><parameter>x</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate of start point
|
||||
x-coordinate of start point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -37,7 +37,7 @@
|
|||
<term><parameter>y</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate of start point
|
||||
y-coordinate of start point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -46,7 +46,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
The fill color. A color identifier created with
|
||||
<function>imagecolorallocate</function>
|
||||
<function>imagecolorallocate</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.13 $ -->
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<refentry xml:id="function.imagefilledarc" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagefilledarc</refname>
|
||||
<refpurpose>Draw a partial ellipse and fill it</refpurpose>
|
||||
<refpurpose>Draw a partial arc and fill it</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
|
@ -20,7 +20,7 @@
|
|||
<methodparam><type>int</type><parameter>style</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Draws a partial ellipse centered at the specified coordinate in the
|
||||
Draws a partial arc centered at the specified coordinate in the
|
||||
given <parameter>image</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
@ -33,7 +33,7 @@
|
|||
<term><parameter>cx</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate of the center
|
||||
x-coordinate of the center.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -41,7 +41,7 @@
|
|||
<term><parameter>cy</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate of the center
|
||||
y-coordinate of the center.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -49,7 +49,7 @@
|
|||
<term><parameter>width</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The arc width
|
||||
The arc width.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -57,7 +57,7 @@
|
|||
<term><parameter>height</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The arc height
|
||||
The arc height.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -84,7 +84,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
A color identifier created with
|
||||
<function>imagecolorallocate</function>
|
||||
<function>imagecolorallocate</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.17 $ -->
|
||||
<!-- $Revision: 1.18 $ -->
|
||||
<refentry xml:id="function.imagefilledellipse" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagefilledellipse</refname>
|
||||
|
@ -30,7 +30,7 @@
|
|||
<term><parameter>cx</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate of the center
|
||||
x-coordinate of the center.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -38,7 +38,7 @@
|
|||
<term><parameter>cy</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate of the center
|
||||
y-coordinate of the center.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -46,7 +46,7 @@
|
|||
<term><parameter>width</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The ellipse width
|
||||
The ellipse width.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -54,7 +54,7 @@
|
|||
<term><parameter>height</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The ellipse height
|
||||
The ellipse height.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -63,7 +63,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
The fill color. A color identifier created with
|
||||
<function>imagecolorallocate</function>
|
||||
<function>imagecolorallocate</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.13 $ -->
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<refentry xml:id="function.imagefilledpolygon" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagefilledpolygon</refname>
|
||||
|
@ -29,7 +29,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
An array containing the <literal>x</literal> and <literal>y</literal>
|
||||
coordinates of the polygons vertices consecutively
|
||||
coordinates of the polygons vertices consecutively.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -37,7 +37,7 @@
|
|||
<term><parameter>num_points</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Total number of vertices, which must be bigger than 3
|
||||
Total number of vertices, which must be bigger than 3.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -46,7 +46,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
A color identifier created with
|
||||
<function>imagecolorallocate</function>
|
||||
<function>imagecolorallocate</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<refentry xml:id="function.imagefilledrectangle" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagefilledrectangle</refname>
|
||||
|
@ -31,7 +31,7 @@
|
|||
<term><parameter>x1</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate for point 1
|
||||
x-coordinate for point 1.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -39,7 +39,7 @@
|
|||
<term><parameter>y1</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate for point 1
|
||||
y-coordinate for point 1.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -47,7 +47,7 @@
|
|||
<term><parameter>x2</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate for point 2
|
||||
x-coordinate for point 2.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -55,7 +55,7 @@
|
|||
<term><parameter>y2</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate for point 2
|
||||
y-coordinate for point 2.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -64,7 +64,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
The fill color. A color identifier created with
|
||||
<function>imagecolorallocate</function>
|
||||
<function>imagecolorallocate</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<refentry xml:id="function.imagefilltoborder" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagefilltoborder</refname>
|
||||
|
@ -32,7 +32,7 @@
|
|||
<term><parameter>x</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate of start
|
||||
x-coordinate of start.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -40,7 +40,7 @@
|
|||
<term><parameter>y</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate of start
|
||||
y-coordinate of start.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -49,7 +49,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
The border color. A color identifier created with
|
||||
<function>imagecolorallocate</function>
|
||||
<function>imagecolorallocate</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -58,7 +58,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
The fill color. A color identifier created with
|
||||
<function>imagecolorallocate</function>
|
||||
<function>imagecolorallocate</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='iso-8859-1'?>
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<refentry xml:id="function.imagefilter" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagefilter</refname>
|
||||
|
@ -111,6 +111,28 @@
|
|||
<term><parameter>arg1</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<constant>IMG_FILTER_BRIGHTNESS</constant>: Brightness level.
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<constant>IMG_FILTER_CONTRAST</constant>: Contrast level.
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<constant>IMG_FILTER_COLORIZE</constant>: Value of red component.
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<constant>IMG_FILTER_SMOOTH</constant>: Smoothness level.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -118,6 +140,13 @@
|
|||
<term><parameter>arg2</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<constant>IMG_FILTER_COLORIZE</constant>: Value of green component.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -125,6 +154,29 @@
|
|||
<term><parameter>arg3</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<constant>IMG_FILTER_COLORIZE</constant>: Value of blue component.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>arg4</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<constant>IMG_FILTER_COLORIZE</constant>: Alpha channel, A value
|
||||
between 0 and 127. 0 indicates completely opaque while 127 indicates
|
||||
completely transparent.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<refentry xml:id='function.imageftbbox' xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imageftbbox</refname>
|
||||
|
@ -11,11 +11,10 @@
|
|||
<type>array</type><methodname>imageftbbox</methodname>
|
||||
<methodparam><type>float</type><parameter>size</parameter></methodparam>
|
||||
<methodparam><type>float</type><parameter>angle</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>font_file</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>fontfile</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>text</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>array</type><parameter>extrainfo</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
&warn.undocumented.func;
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
|
@ -25,6 +24,7 @@
|
|||
<term><parameter>size</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The font size in pixels.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -32,13 +32,19 @@
|
|||
<term><parameter>angle</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Angle in degrees in which <parameter>text</parameter> will be
|
||||
measured.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>font_file</parameter></term>
|
||||
<term><parameter>fontfile</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The name of the TrueType font file (can be a URL). Depending on
|
||||
which version of the GD library that PHP is using, it may attempt to
|
||||
search for files that do not begin with a leading '/' by appending
|
||||
'.ttf' to the filename and searching along a library-defined font path.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -46,6 +52,7 @@
|
|||
<term><parameter>text</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The string to be measured.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -53,6 +60,25 @@
|
|||
<term><parameter>extrainfo</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<table>
|
||||
<title>Possible array indexes for <parameter>extrainfo</parameter></title>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>Key</entry>
|
||||
<entry>Type</entry>
|
||||
<entry>Meaning</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry><literal>linespacing</literal></entry>
|
||||
<entry><type>float</type></entry>
|
||||
<entry>Defines drawing linespacing</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -62,6 +88,52 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<function>imageftbbox</function> returns an array with 8
|
||||
elements representing four points making the bounding box of the
|
||||
text:
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>0</entry>
|
||||
<entry>lower left corner, X position</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1</entry>
|
||||
<entry>lower left corner, Y position</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>2</entry>
|
||||
<entry>lower right corner, X position</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>3</entry>
|
||||
<entry>lower right corner, Y position</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>4</entry>
|
||||
<entry>upper right corner, X position</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>5</entry>
|
||||
<entry>upper right corner, Y position</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>6</entry>
|
||||
<entry>upper left corner, X position</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>7</entry>
|
||||
<entry>upper left corner, Y position</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
<para>
|
||||
The points are relative to the <emphasis>text</emphasis> regardless of the
|
||||
<parameter>angle</parameter>, so "upper left" means in the top left-hand
|
||||
corner seeing the text horizontally.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="notes">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.15 $ -->
|
||||
<!-- $Revision: 1.16 $ -->
|
||||
<refentry xml:id='function.imagefttext' xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagefttext</refname>
|
||||
|
@ -15,7 +15,7 @@
|
|||
<methodparam><type>int</type><parameter>x</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>y</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>color</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>font_file</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>fontfile</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>text</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>array</type><parameter>extrainfo</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
|
@ -28,7 +28,7 @@
|
|||
<varlistentry>
|
||||
<term><parameter>size</parameter></term>
|
||||
<listitem>
|
||||
<para>The font size to use in points
|
||||
<para>The font size to use in points.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -69,15 +69,45 @@
|
|||
<term><parameter>color</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The index of the desired color for the text, see <function>imagecolorexact</function>
|
||||
The index of the desired color for the text, see
|
||||
<function>imagecolorexact</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>font_file</parameter></term>
|
||||
<term><parameter>fontfile</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The full path to the font being used.
|
||||
The path to the TrueType font you wish to use.
|
||||
</para>
|
||||
<para>
|
||||
Depending on which version of the GD library PHP is using, <emphasis>when
|
||||
<parameter>fontfile</parameter> does not begin with a leading
|
||||
<literal>/</literal> then <literal>.ttf</literal> will be appended</emphasis>
|
||||
to the filename and the library will attempt to search for that
|
||||
filename along a library-defined font path.
|
||||
</para>
|
||||
<para>
|
||||
When using versions of the GD library lower than 2.0.18, a <literal>space</literal> character,
|
||||
rather than a semicolon, was used as the 'path separator' for different font files.
|
||||
Unintentional use of this feature will result in the warning message:
|
||||
<literal>Warning: Could not find/open font</literal>. For these affected versions, the
|
||||
only solution is moving the font to a path which does not contain spaces.
|
||||
</para>
|
||||
<para>
|
||||
In many cases where a font resides in the same directory as the script using it
|
||||
the following trick will alleviate any include problems.
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
// Set the enviroment variable for GD
|
||||
putenv('GDFONTPATH=' . realpath('.'));
|
||||
|
||||
// Name the font to be used (note the lack of the .ttf extension)
|
||||
$font = 'SomeFont';
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -93,6 +123,25 @@
|
|||
<term><parameter>extrainfo</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<table>
|
||||
<title>Possible array indexes for <parameter>extrainfo</parameter></title>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>Key</entry>
|
||||
<entry>Type</entry>
|
||||
<entry>Meaning</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry><literal>linespacing</literal></entry>
|
||||
<entry><type>float</type></entry>
|
||||
<entry>Defines drawing linespacing</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<refentry xml:id="function.imagegammacorrect" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagegammacorrect</refname>
|
||||
|
@ -27,7 +27,7 @@
|
|||
<term><parameter>inputgamma</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The input gamma
|
||||
The input gamma.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -35,7 +35,7 @@
|
|||
<term><parameter>outputgamma</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The output gamma
|
||||
The output gamma.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.17 $ -->
|
||||
<!-- $Revision: 1.18 $ -->
|
||||
<refentry xml:id='function.imagegd2' xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagegd2</refname>
|
||||
|
@ -36,6 +36,7 @@
|
|||
<term><parameter>chunk_size</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Chunk size.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<refentry xml:id="function.imagegrabwindow" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagegrabwindow</refname>
|
||||
|
@ -26,7 +26,7 @@
|
|||
<term><parameter>window</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The HWND window ID
|
||||
The HWND window ID.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -34,7 +34,7 @@
|
|||
<term><parameter>client_area</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Include the client area of the application window
|
||||
Include the client area of the application window.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<!-- $Revision: 1.12 $ -->
|
||||
<refentry xml:id="function.imageline" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imageline</refname>
|
||||
|
@ -29,7 +29,7 @@
|
|||
<term><parameter>x1</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate for first point
|
||||
x-coordinate for first point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -37,7 +37,7 @@
|
|||
<term><parameter>y1</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate for first point
|
||||
y-coordinate for first point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -45,7 +45,7 @@
|
|||
<term><parameter>x2</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate for second point
|
||||
x-coordinate for second point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -53,7 +53,7 @@
|
|||
<term><parameter>y2</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate for second point
|
||||
y-coordinate for second point.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -62,7 +62,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
The line color. A color identifier created with
|
||||
<function>imagecolorallocate</function>
|
||||
<function>imagecolorallocate</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry xml:id="function.imagepalettecopy" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagepalettecopy</refname>
|
||||
|
@ -26,7 +26,7 @@
|
|||
<term><parameter>destination</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The destination image resource
|
||||
The destination image resource.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -34,7 +34,7 @@
|
|||
<term><parameter>source</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The source image resource
|
||||
The source image resource.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<!-- $Revision: 1.15 $ -->
|
||||
<refentry xml:id="function.imagepolygon" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagepolygon</refname>
|
||||
|
@ -37,7 +37,7 @@
|
|||
<term><parameter>num_points</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Total number of points (vertices)
|
||||
Total number of points (vertices).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -46,7 +46,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
A color identifier created with
|
||||
<function>imagecolorallocate</function>
|
||||
<function>imagecolorallocate</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.13 $ -->
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<refentry xml:id="function.imagepsbbox" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagepsbbox</refname>
|
||||
|
@ -10,13 +10,13 @@
|
|||
<methodsynopsis>
|
||||
<type>array</type><methodname>imagepsbbox</methodname>
|
||||
<methodparam><type>string</type><parameter>text</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>font</parameter></methodparam>
|
||||
<methodparam><type>resource</type><parameter>font</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>size</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>imagepsbbox</methodname>
|
||||
<methodparam><type>string</type><parameter>text</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>font</parameter></methodparam>
|
||||
<methodparam><type>resource</type><parameter>font</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>size</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>space</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>tightness</parameter></methodparam>
|
||||
|
@ -44,7 +44,14 @@
|
|||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
&gd.font.description;
|
||||
<varlistentry>
|
||||
<term><parameter>font_index</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A font resource, returned by <function>imagepsloadfont</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>size</parameter></term>
|
||||
<listitem>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<!-- $Revision: 1.12 $ -->
|
||||
<refentry xml:id="function.imagepsfreefont" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagepsfreefont</refname>
|
||||
|
@ -9,7 +9,7 @@
|
|||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>imagepsfreefont</methodname>
|
||||
<methodparam><type>resource</type><parameter>fontindex</parameter></methodparam>
|
||||
<methodparam><type>resource</type><parameter>font_index</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>imagepsfreefont</function> frees memory used by a PostScript
|
||||
|
@ -21,7 +21,7 @@
|
|||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>fontindex</parameter></term>
|
||||
<term><parameter>font_index</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A font resource, returned by <function>imagepsloadfont</function>.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.13 $ -->
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<refentry xml:id="function.imagepsloadfont" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagepsloadfont</refname>
|
||||
|
@ -24,7 +24,7 @@
|
|||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Path to the Postscript font file
|
||||
Path to the Postscript font file.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<refentry xml:id="function.imagepsslantfont" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagepsslantfont</refname>
|
||||
|
@ -32,6 +32,7 @@
|
|||
<term><parameter>slant</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Slant level.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<!-- $Revision: 1.15 $ -->
|
||||
<refentry xml:id="function.imagepstext" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagepstext</refname>
|
||||
|
@ -11,7 +11,7 @@
|
|||
<type>array</type><methodname>imagepstext</methodname>
|
||||
<methodparam><type>resource</type><parameter>image</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>text</parameter></methodparam>
|
||||
<methodparam><type>resource</type><parameter>font</parameter></methodparam>
|
||||
<methodparam><type>resource</type><parameter>font_index</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>size</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>foreground</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>background</parameter></methodparam>
|
||||
|
@ -43,7 +43,14 @@
|
|||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
&gd.font.description;
|
||||
<varlistentry>
|
||||
<term><parameter>font_index</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A font resource, returned by <function>imagepsloadfont</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>size</parameter></term>
|
||||
<listitem>
|
||||
|
@ -75,7 +82,7 @@
|
|||
<term><parameter>x</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate for the lower-left corner of the first character
|
||||
x-coordinate for the lower-left corner of the first character.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -83,7 +90,7 @@
|
|||
<term><parameter>y</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate for the lower-left corner of the first character
|
||||
y-coordinate for the lower-left corner of the first character.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<refentry xml:id="function.imagerectangle" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagerectangle</refname>
|
||||
|
@ -30,7 +30,7 @@
|
|||
<term><parameter>x1</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Upper left x coordinate
|
||||
Upper left x coordinate.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -47,7 +47,7 @@
|
|||
<term><parameter>x2</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Bottom right x coordinate
|
||||
Bottom right x coordinate.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -55,7 +55,7 @@
|
|||
<term><parameter>y2</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Bottom right y coordinate
|
||||
Bottom right y coordinate.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -64,7 +64,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
A color identifier created with
|
||||
<function>imagecolorallocate</function>
|
||||
<function>imagecolorallocate</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<!-- $Revision: 1.12 $ -->
|
||||
<refentry xml:id="function.imagerotate" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagerotate</refname>
|
||||
|
@ -9,13 +9,13 @@
|
|||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>resource</type><methodname>imagerotate</methodname>
|
||||
<methodparam><type>resource</type><parameter>source_image</parameter></methodparam>
|
||||
<methodparam><type>resource</type><parameter>image</parameter></methodparam>
|
||||
<methodparam><type>float</type><parameter>angle</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>bgd_color</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>ignore_transparent</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Rotates the <parameter>source_image</parameter> image using the given
|
||||
Rotates the <parameter>image</parameter> image using the given
|
||||
<parameter>angle</parameter> in degrees.
|
||||
</para>
|
||||
<para>
|
||||
|
@ -30,14 +30,7 @@
|
|||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>source_image</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The source image link
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
&gd.image.description;
|
||||
<varlistentry>
|
||||
<term><parameter>angle</parameter></term>
|
||||
<listitem>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<refentry xml:id="function.imagesetbrush" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagesetbrush</refname>
|
||||
|
@ -29,7 +29,7 @@
|
|||
<term><parameter>brush</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
An image resource
|
||||
An image resource.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<refentry xml:id="function.imagesetpixel" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagesetpixel</refname>
|
||||
|
@ -28,7 +28,7 @@
|
|||
<term><parameter>x</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate
|
||||
x-coordinate.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -36,7 +36,7 @@
|
|||
<term><parameter>y</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate
|
||||
y-coordinate.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -45,7 +45,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
A color identifier created with
|
||||
<function>imagecolorallocate</function>
|
||||
<function>imagecolorallocate</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<refentry xml:id="function.imagesetthickness" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagesetthickness</refname>
|
||||
|
@ -27,7 +27,7 @@
|
|||
<term><parameter>thickness</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Thickness, in pixels
|
||||
Thickness, in pixels.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<refentry xml:id="function.imagesettile" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagesettile</refname>
|
||||
|
@ -41,7 +41,7 @@
|
|||
<term><parameter>tile</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The image resource to be used as a tile
|
||||
The image resource to be used as a tile.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.16 $ -->
|
||||
<!-- $Revision: 1.17 $ -->
|
||||
<refentry xml:id="function.imagestring" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagestring</refname>
|
||||
|
@ -30,7 +30,7 @@
|
|||
<term><parameter>x</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate of the upper left corner
|
||||
x-coordinate of the upper left corner.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -38,7 +38,7 @@
|
|||
<term><parameter>y</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate of the upper left corner
|
||||
y-coordinate of the upper left corner.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -46,7 +46,7 @@
|
|||
<term><parameter>string</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The string to be written
|
||||
The string to be written.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -55,7 +55,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
A color identifier created with
|
||||
<function>imagecolorallocate</function>
|
||||
<function>imagecolorallocate</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<refentry xml:id="function.imagestringup" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagestringup</refname>
|
||||
|
@ -31,7 +31,7 @@
|
|||
<term><parameter>x</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
x-coordinate of the upper left corner
|
||||
x-coordinate of the upper left corner.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -39,7 +39,7 @@
|
|||
<term><parameter>y</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
y-coordinate of the upper left corner
|
||||
y-coordinate of the upper left corner.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -47,7 +47,7 @@
|
|||
<term><parameter>string</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The string to be written
|
||||
The string to be written.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -56,7 +56,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
A color identifier created with
|
||||
<function>imagecolorallocate</function>
|
||||
<function>imagecolorallocate</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<refentry xml:id="function.imagettfbbox" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>imagettfbbox</refname>
|
||||
|
@ -27,7 +27,7 @@
|
|||
<term><parameter>size</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The font size in pixels
|
||||
The font size in pixels.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -35,7 +35,7 @@
|
|||
<term><parameter>angle</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Angle in degrees in which <parameter>text</parameter> will be measured
|
||||
Angle in degrees in which <parameter>text</parameter> will be measured.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -46,7 +46,7 @@
|
|||
The name of the TrueType font file (can be a URL). Depending on
|
||||
which version of the GD library that PHP is using, it may attempt to
|
||||
search for files that do not begin with a leading '/' by appending
|
||||
'.ttf' to the filename and searching along a library-defined font path
|
||||
'.ttf' to the filename and searching along a library-defined font path.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -54,7 +54,7 @@
|
|||
<term><parameter>text</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The string to be measured
|
||||
The string to be measured.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- $Revision: 1.25 $ -->
|
||||
<!-- $Revision: 1.26 $ -->
|
||||
<refentry xml:id="function.imagettftext" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>imagettftext</refname>
|
||||
|
@ -33,7 +33,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
The font size. Depending on your version of GD, this should be
|
||||
specified as the pixel size (GD1) or point size (GD2)
|
||||
specified as the pixel size (GD1) or point size (GD2).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -75,7 +75,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
The color index. Using the negative of a color index has the effect of
|
||||
turning off antialiasing. See <function>imagecolorallocate</function>
|
||||
turning off antialiasing. See <function>imagecolorallocate</function>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<refentry xml:id='function.iptcembed' xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>iptcembed</refname>
|
||||
|
@ -13,9 +13,6 @@
|
|||
<methodparam><type>string</type><parameter>jpeg_file_name</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>spool</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
&warn.undocumented.func;
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
|
@ -25,6 +22,7 @@
|
|||
<term><parameter>iptcdata</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The data to be written.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -32,6 +30,7 @@
|
|||
<term><parameter>jpeg_file_name</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Path to the JPEG image.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -39,12 +38,29 @@
|
|||
<term><parameter>spool</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Spool flag. If the spool flag is over 2 then the JPEG will be
|
||||
returned as a string.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
If success and spool flag is lower than 2 then the JPEG will not be
|
||||
returned as a string, &false; on errors.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
<para>
|
||||
This function does not require the GD image library.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<refentry xml:id="function.iptcparse" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>iptcparse</refname>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<term><parameter>iptcblock</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A binary IPTC block
|
||||
A binary IPTC block.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -37,14 +37,34 @@
|
|||
value. It returns &false; on error or if no IPTC data was found.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member><function>getimagesize</function> for an example</member>
|
||||
</simplelist>
|
||||
<example>
|
||||
<title>iptcparse() used together with <function>getimagesize</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$size = getimagesize('./test.jpg', $info);
|
||||
if(isset($info['APP13']))
|
||||
{
|
||||
$iptc = iptcparse($info['APP13']);
|
||||
var_dump($iptc);
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
<para>
|
||||
This function does not require the GD image library.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<refentry xml:id="function.jpeg2wbmp" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>jpeg2wbmp</refname>
|
||||
|
@ -27,7 +27,7 @@
|
|||
<term><parameter>jpegname</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Path to JPEG file
|
||||
Path to JPEG file.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -35,7 +35,7 @@
|
|||
<term><parameter>wbmpname</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Path to destination WBMP file
|
||||
Path to destination WBMP file.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -43,7 +43,7 @@
|
|||
<term><parameter>dest_height</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Destination image height
|
||||
Destination image height.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -51,7 +51,7 @@
|
|||
<term><parameter>dest_width</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Destination image width
|
||||
Destination image width.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -59,7 +59,7 @@
|
|||
<term><parameter>threshold</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Threshold value, between 0 and 255 (inclusive)
|
||||
Threshold value, between 0 and 255 (inclusive).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<refentry xml:id="function.png2wbmp" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>png2wbmp</refname>
|
||||
|
@ -27,7 +27,7 @@
|
|||
<term><parameter>pngname</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Path to PNG file
|
||||
Path to PNG file.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -35,7 +35,7 @@
|
|||
<term><parameter>wbmpname</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Path to destination WBMP file
|
||||
Path to destination WBMP file.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -43,7 +43,7 @@
|
|||
<term><parameter>dest_height</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Destination image height
|
||||
Destination image height.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -51,7 +51,7 @@
|
|||
<term><parameter>dest_width</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Destination image width
|
||||
Destination image width.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -59,7 +59,7 @@
|
|||
<term><parameter>threshold</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Threshold value, between 0 and 255 (inclusive)
|
||||
Threshold value, between 0 and 255 (inclusive).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
Loading…
Reference in a new issue