new funcs: imagefilter, imagexbm

mark funs available only with bundled GD
update imagetypes for xbm


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@155803 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Friedhelm Betz 2004-04-12 22:43:56 +00:00
parent 0aae3c25c2
commit c74303b7fe
8 changed files with 99 additions and 10 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<refentry id="function.imageantialias">
<refnamediv>
<refname>imageantialias</refname>
@ -15,8 +15,8 @@
<methodparam><type>bool</type><parameter>on</parameter></methodparam>
</methodsynopsis>
&warn.undocumented.func;
&warn.undocumented.func;
&note.bundeld.gd;
<para>
See also <function>imagecreatetruecolor</function>.
</para>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- $Revision: 1.2 $ -->
<refentry id="function.imagecolormatch">
<refnamediv>
<refname>imagecolormatch</refname>
@ -27,6 +27,7 @@
<para>
&return.success;
</para>
&note.bundeld.gd;
<para>
See also <function>imagecreatetruecolor</function>.
</para>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/image.xml, last change in rev 1.61 -->
<refentry id="function.imagecreatefromxpm">
<refnamediv>
@ -16,6 +16,7 @@
<function>imagecreatefromxpm</function> returns an image identifier
representing the image obtained from the given filename.
</para>
&note.bundeld.gd;
&tip.fopen-wrapper;
&warn.no-win32-fopen-wrapper;
</refsect1>

View file

@ -0,0 +1,43 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.imagefilter">
<refnamediv>
<refname>imagefilter</refname>
<refpurpose>
Applies Filter an image using a custom angle
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>bool</type><methodname>imagefilter</methodname>
<methodparam><type>resource</type><parameter>src_im</parameter></methodparam>
<methodparam><type>int</type><parameter>filtertype</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>args</parameter></methodparam>
</methodsynopsis>
&warn.undocumented.func;
&note.bundeld.gd;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.1 $ -->
<!-- $Revision: 1.2 $ -->
<refentry id="function.imagelayereffect">
<refnamediv>
<refname>imagelayereffect</refname>
@ -15,6 +15,7 @@
<methodparam><type>int</type><parameter>effect</parameter></methodparam>
</methodsynopsis>
&warn.undocumented.func;
&note.bundeld.gd;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<refentry id="function.imagerotate">
<refnamediv>
<refname>imagerotate</refname>
@ -18,6 +18,7 @@
<parameter>angle</parameter> in degree. <parameter>bgd_color</parameter>
specifies the color of the uncovered zone after the rotation.
</para>
&note.bundeld.gd;
</refsect1>
</refentry>
@ -41,4 +42,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

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.61 -->
<refentry id="function.imagetypes">
<refnamediv>
@ -16,7 +16,7 @@
This function returns a bit-field corresponding to the image
formats supported by the version of GD linked into PHP. The
following bits are returned, <constant>IMG_GIF</constant> | <constant>IMG_JPG</constant>
| <constant>IMG_PNG</constant> | <constant>IMG_WBMP</constant>.
| <constant>IMG_PNG</constant> | <constant>IMG_WBMP</constant> | <constant>IMG_XPM</constant>.
To check for PNG support, for example, do this:
<example>
<title><function>imagetypes</function> example</title>

View file

@ -0,0 +1,43 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.imagexbm">
<refnamediv>
<refname>imagexbm</refname>
<refpurpose>
Output XBM image to browser or file
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>imagexbm</methodname>
<methodparam><type>resource</type><parameter>image</parameter></methodparam>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>foreground</parameter></methodparam>
</methodsynopsis>
&warn.undocumented.func;
&note.bundeld.gd;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->