turning im to image

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@114903 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Damien Seguy 2003-02-06 02:20:19 +00:00
parent f53ba9e66e
commit 7f332c3b50
4 changed files with 27 additions and 20 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<!-- splitted from ./en/functions/image.xml, last change in rev 1.81 -->
<refentry id="function.exif-imagetype">
<refnamediv>
@ -21,10 +21,18 @@
</para>
<para>
The following constants are defined:
1 = IMAGETYPE_GIF, 2 = IMAGETYPE_JPEG, 3 = IMAGETYPE_PNG, 4 = IMAGETYPE_SWF,
5 = IMAGETYPE_PSD, 6 = IMAGETYPE_BMP, 7 = IMAGETYPE_TIFF_II (intel byte order),
8 = IMAGETYPE_TIFF_MM (motorola byte order), 9 = IMAGETYPE_JPC, 10 = IMAGETYPE_JP2,
11 = IMAGETYPE_JPX, 12 = IMAGETYPE_SWC.
1 = <constant>IMAGETYPE_GIF</constant>,
2 = <constant>IMAGETYPE_JPG</constant>,
3 = <constant>IMAGETYPE_PNG</constant>,
4 = <constant>IMAGETYPE_SWF</constant>,
5 = <constant>IMAGETYPE_PSD</constant>,
6 = <constant>IMAGETYPE_BMP</constant>,
7 = <constant>IMAGETYPE_TIFF_II</constant> (intel byte order),
8 = <constant>IMAGETYPE_TIFF_MM</constant> (motorola byte order),
9 = <constant>IMAGETYPE_JPC</constant>,
10 = <constant>IMAGETYPE_JP2</constant>,
11 = <constant>IMAGETYPE_JPX</constant> et
12 = <constant>IMAGETYPE_SWC</constant>.
</para>
<para>
This function can be used to avoid calls to other exif functions with unsupported

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/image.xml, last change in rev 1.2 -->
<refentry id="function.imagepstext">
<refnamediv>
@ -32,10 +32,7 @@
</parameter></methodparam>
</methodsynopsis>
<para>
<parameter>Size</parameter> is expressed in pixels.
</para>
<para>
<parameter>Foreground</parameter> is the color in which the text
<parameter>foreground</parameter> is the color in which the text
will be painted. <parameter>Background</parameter> is the color
to which the text will try to fade in with antialiasing. No
pixels with the color <parameter>background</parameter> are
@ -54,20 +51,23 @@
works.
</para>
<para>
<parameter>Space</parameter> allows you to change the default
<parameter>space</parameter> allows you to change the default
value of a space in a font. This amount is added to the normal
value and can also be negative.
</para>
<para>
<parameter>Tightness</parameter> allows you to control the amount
<parameter>tightness</parameter> allows you to control the amount
of white space between characters. This amount is added to the
normal character width and can also be negative.
</para>
<para>
<parameter>Angle</parameter> is in degrees.
<parameter>angle</parameter> is in degrees.
</para>
<para>
<parameter>Antialias_steps</parameter> allows you to control the
<parameter>size</parameter> is expressed in pixels.
</para>
<para>
<parameter>antialias_steps</parameter> allows you to control the
number of colours used for antialiasing text. Allowed values are
4 and 16. The higher value is recommended for text sizes lower
than 20, where the effect in text quality is quite visible. With

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/image.xml, last change in rev 1.34 -->
<refentry id="function.imagesettile">
<refnamediv>
@ -32,7 +32,6 @@
color until you have set a new tile image!
</para>
</note>
<note><para>This function was added in PHP 4.0.6</para></note>
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/image.xml, last change in rev 1.2 -->
<refentry id="function.imagettftext">
<refnamediv>
@ -15,7 +15,7 @@
<methodparam><type>int</type><parameter>angle</parameter></methodparam>
<methodparam><type>int</type><parameter>x</parameter></methodparam>
<methodparam><type>int</type><parameter>y</parameter></methodparam>
<methodparam><type>int</type><parameter>col</parameter></methodparam>
<methodparam><type>int</type><parameter>color</parameter></methodparam>
<methodparam><type>string</type><parameter>fontfile</parameter></methodparam>
<methodparam><type>string</type><parameter>text</parameter></methodparam>
</methodsynopsis>
@ -25,7 +25,7 @@
<parameter>image</parameter>, starting at coordinates
<parameter>x</parameter>, <parameter>y</parameter> (top left is 0, 0), at
an angle of <parameter>angle</parameter> in color
<parameter>col</parameter>, using the TrueType font file identified by
<parameter>color</parameter>, using the TrueType font file identified by
<parameter>fontfile</parameter>. Depending on which version of the GD
library that PHP is using, when <parameter>fontfile</parameter> does not
begin with a leading '/', '.ttf' will be appended to the filename and
@ -55,7 +55,7 @@
characters in a font beyond the first 255.
</para>
<para>
<parameter>Col</parameter> is the color index. Using the
<parameter>color</parameter> is the color index. Using the
negative of a color index has the effect of turning off
antialiasing.
</para>