Date: 07/16/00
- Next message: Martin Samesch: "[PHP-DOC] cvs: phpdoc /en/functions session.xml"
- Previous message: Hojtsy Gabor: "[PHP-DOC] Real old persistent-connections.xml"
- Next in thread: Thomas Schuermann: "[PHP-DOC] cvs: phpdoc /de/functions image.xml"
- Maybe reply: Thomas Schuermann: "[PHP-DOC] cvs: phpdoc /de/functions image.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
tschuer Sun Jul 16 12:32:14 2000 EDT
Modified files:
/phpdoc/de/functions image.xml
Log:
Add doc for function ImageTypes().
Index: phpdoc/de/functions/image.xml
diff -u phpdoc/de/functions/image.xml:1.13 phpdoc/de/functions/image.xml:1.14
--- phpdoc/de/functions/image.xml:1.13 Sat Jun 24 00:38:42 2000
+++ phpdoc/de/functions/image.xml Sun Jul 16 12:32:14 2000
@@ -2102,6 +2102,42 @@
</refsect1>
</refentry>
+ <refentry id="function.imagetypes">
+ <refnamediv>
+ <refname>ImageTypes</refname>
+ <refpurpose>
+ Gibt die von der aktuell verwendeten PHP-Version unterstützten
+ Grafik-Formate zurück
+ </refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Beschreibung:</title>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>int <function>imagetypes</function></funcdef>
+ <void/>
+ </funcprototype>
+ </funcsynopsis>
+ <para>
+ Der von dieser Funktion zurück gegebene Bit-Wert stellt die von
+ der in der aktuellen PHP-Kompilation enthaltenen GD-Version
+ unterstützten Grafik-Formate dar. Die folgenden Bit-Werte sind
+ möglich: IMG_GIF, IMG_JPG, IMG_PNG oder IMG_WBMP. Um das Vorhanden
+ sein der GD-Unterstützung zu testen, können sie folgendes machen:
+ <example>
+ <title>ImageTypes</title>
+ <programlisting role="php">
+<?php
+if(ImageTypes() & IMG_PNG) {
+ echo "PNG-Unterstützung ist vorhanden.";
+}
+?>
+ </programlisting>
+ </example>
+ </para>
+ </refsect1>
+ </refentry>
+
</reference>
<!-- Keep this comment at the end of the file
- Next message: Martin Samesch: "[PHP-DOC] cvs: phpdoc /en/functions session.xml"
- Previous message: Hojtsy Gabor: "[PHP-DOC] Real old persistent-connections.xml"
- Next in thread: Thomas Schuermann: "[PHP-DOC] cvs: phpdoc /de/functions image.xml"
- Maybe reply: Thomas Schuermann: "[PHP-DOC] cvs: phpdoc /de/functions image.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

