[PHP-DOC] cvs: phpdoc /de/functions image.xml From: Thomas Schuermann (thomas.schuermann <email protected>)
Date: 07/16/00

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">
+&lt;?php
+if(ImageTypes() &amp; IMG_PNG) {
+ echo "PNG-Unterstützung ist vorhanden.";
+}
+?&gt;
+ </programlisting>
+ </example>
+ </para>
+ </refsect1>
+ </refentry>
+
  </reference>
 
 <!-- Keep this comment at the end of the file