svn: /phpdoc/de/trunk/reference/exif/ book.xml constants.xml functions/exif-imagetype.xml functions/exif-thumbnail.xml functions/read-exif-data.xml setup.xml

[email protected] (Christoph Michael Becker)
Newsgroups php.doc.de
Message-ID <[email protected]>
cmb                                      Thu, 01 Feb 2018 14:36:20 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=344150

Log:
Sync with EN

Changed paths:
    U   phpdoc/de/trunk/reference/exif/book.xml
    U   phpdoc/de/trunk/reference/exif/constants.xml
    U   phpdoc/de/trunk/reference/exif/functions/exif-imagetype.xml
    U   phpdoc/de/trunk/reference/exif/functions/exif-thumbnail.xml
    U   phpdoc/de/trunk/reference/exif/functions/read-exif-data.xml
    U   phpdoc/de/trunk/reference/exif/setup.xml
svn-diffs-344150.txt (text/x-diff, 10 KB)
Modified: phpdoc/de/trunk/reference/exif/book.xml
===================================================================
--- phpdoc/de/trunk/reference/exif/book.xml	2018-02-01 14:08:18 UTC (rev 344149)
+++ phpdoc/de/trunk/reference/exif/book.xml	2018-02-01 14:36:20 UTC (rev 344150)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 330340 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 342647 Maintainer: hholzgra Status: ready -->
 <!-- Credits: tihox -->

 <book xml:id="book.exif" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -15,7 +15,9 @@
    Die Exif-Erweiterung ermöglicht es mit Metadaten von Bildern zu arbeiten.
    Z.B. kann man die Exif-Funktionen nutzen, um die Metadaten von Bildern
    auszulesen, die mit Digitalkameras gemacht wurden, indem man die Header
-   der <acronym>JPEG</acronym>- und <acronym>TIFF</acronym>-Bilder ausliest.
+   ausliest.
+   Diese finden sich üblicherweise in <acronym>JPEG</acronym> und
+   <acronym>TIFF</acronym> Bildern.
   </para>
  </preface>
  <!-- }}} -->

Modified: phpdoc/de/trunk/reference/exif/constants.xml
===================================================================
--- phpdoc/de/trunk/reference/exif/constants.xml	2018-02-01 14:08:18 UTC (rev 344149)
+++ phpdoc/de/trunk/reference/exif/constants.xml	2018-02-01 14:36:20 UTC (rev 344150)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 323624 Maintainer: tihox Status: ready -->
+<!-- EN-Revision: 342647 Maintainer: tihox Status: ready -->
 <appendix xml:id="exif.constants" xmlns="http://docbook.org/ns/docbook">
  &reftitle.constants;
  &extension.constants;
@@ -13,7 +13,9 @@
     </term>
     <listitem>
      <simpara>
-
+      Diese Konstante hat den Wert <literal>1</literal>, wenn
+      <link linkend="ref.mbstring">mbstring</link> aktiviert ist; anderfalls ist
+      ihr Wert <literal>0</literal>.
      </simpara>
     </listitem>
    </varlistentry>

Modified: phpdoc/de/trunk/reference/exif/functions/exif-imagetype.xml
===================================================================
--- phpdoc/de/trunk/reference/exif/functions/exif-imagetype.xml	2018-02-01 14:08:18 UTC (rev 344149)
+++ phpdoc/de/trunk/reference/exif/functions/exif-imagetype.xml	2018-02-01 14:36:20 UTC (rev 344150)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 334605 Maintainer: nikic Status: ready -->
+<!-- EN-Revision: 343622 Maintainer: nikic Status: ready -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.81 -->
  <refentry xml:id="function.exif-imagetype" xmlns="http://docbook.org/ns/docbook">
   <refnamediv>
@@ -73,6 +73,12 @@
       </thead>
       <tbody>
        <row>
+        <entry>7.1.0</entry>
+        <entry>
+         Unterstützung für WebP hinzugefügt.
+        </entry>
+       </row>
+       <row>
         <entry>5.3.0</entry>
         <entry>
          Unterstützung für ICO hinzugefügt.
@@ -168,6 +174,10 @@
         <entry>17</entry>
         <entry><constant>IMAGETYPE_ICO</constant></entry>
        </row>
+       <row>
+        <entry>18</entry>
+        <entry><constant>IMAGETYPE_WEBP</constant></entry>
+       </row>
       </tbody>
      </tgroup>
     </table>

Modified: phpdoc/de/trunk/reference/exif/functions/exif-thumbnail.xml
===================================================================
--- phpdoc/de/trunk/reference/exif/functions/exif-thumbnail.xml	2018-02-01 14:08:18 UTC (rev 344149)
+++ phpdoc/de/trunk/reference/exif/functions/exif-thumbnail.xml	2018-02-01 14:36:20 UTC (rev 344150)
@@ -1,24 +1,24 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 334605 Maintainer: nobody Status: ready -->
+<!-- EN-Revision: 343465 Maintainer: nobody Status: ready -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.78 -->
 <refentry xml:id="function.exif-thumbnail" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>exif_thumbnail</refname>
-  <refpurpose>Aufruf des eingebetteten Miniaturbildes eines TIFF- oder JPEG-Bildes</refpurpose>
+  <refpurpose>Liest das eingebettete Miniaturbildes eines Bildes</refpurpose>
  </refnamediv>
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
    <type>string</type><methodname>exif_thumbnail</methodname>
-   <methodparam><type>string</type><parameter>filename</parameter></methodparam>
+   <methodparam><type>mixed</type><parameter>stream</parameter></methodparam>
    <methodparam choice="opt"><type>int</type><parameter role="reference">width</parameter></methodparam>
    <methodparam choice="opt"><type>int</type><parameter role="reference">height</parameter></methodparam>
    <methodparam choice="opt"><type>int</type><parameter role="reference">imagetype</parameter></methodparam>
   </methodsynopsis>
   <para>
-   <function>exif_thumbnail</function> liest das eingebettete Miniaturbild aus
-   einem <acronym>TIFF</acronym>- oder <acronym>JPEG</acronym>-Bild.
+   <function>exif_thumbnail</function> liest das eingebettete Miniaturbild
+   eines Bilds.
   </para>
   <para>
    Wenn man das Miniaturbild mit dieser Funktion ausliefern möchte, sollte man
@@ -36,11 +36,11 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>filename</parameter></term>
+     <term><parameter>stream</parameter></term>
      <listitem>
       <para>
-       Der Name der einzulesenden Bilddatei. Dieses Bild beinhaltet ein
-       eingebettetes Miniaturbild.
+       Der Ort der Bilddatei. Dies kann entweder ein Dateipfad oder eine Stream
+       <type>resource</type> sein.
       </para>
      </listitem>
     </varlistentry>
@@ -88,11 +88,7 @@
     <programlisting role="php">
 <![CDATA[
 <?php
-if (array_key_exists('file', $_REQUEST)) {
-    $image = exif_thumbnail($_REQUEST['file'], $width, $height, $type);
-} else {
-    $image = false;
-}
+$image = exif_thumbnail('/Pfad/zum/Bild.jpg', $width, $height, $type);
 if ($image!==false) {
     header('Content-type: ' .image_type_to_mime_type($type));
     echo $image;
@@ -107,7 +103,46 @@
    </example>
   </para>
  </refsect1>
- <refsect1 role="seealso">
+
+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <para>
+   <informaltable>
+    <tgroup cols="2">
+     <thead>
+      <row>
+       <entry>&Version;</entry>
+       <entry>&Description;</entry>
+      </row>
+     </thead>
+     <tbody>
+      <row>
+       <entry>7.2.0</entry>
+       <entry>
+        Der <parameter>filename</parameter>-Parameter wurde zu
+        <parameter>stream</parameter> umbenannt, und unterstützt nun sowohl
+        lokale Dateien als auch Stream-Ressourcen.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>
+
+ <refsect1 role="notes">
+  &reftitle.notes;
+  <note>
+   <para>
+    Wird <parameter>stream</parameter> verwendet, um einen Stream an diese
+    Funktion zu übergeben, dann muss der Stream durchsuchbar sein. Es ist zu
+    beachten, dass sich die Position des Dateizeigers nicht ändert, nachdem
+    diese Funktion aufgerufen wurde.
+   </para>
+  </note>
+ </refsect1>
+
+  <refsect1 role="seealso">
   &reftitle.seealso;
   <para>
    <simplelist>

Modified: phpdoc/de/trunk/reference/exif/functions/read-exif-data.xml
===================================================================
--- phpdoc/de/trunk/reference/exif/functions/read-exif-data.xml	2018-02-01 14:08:18 UTC (rev 344149)
+++ phpdoc/de/trunk/reference/exif/functions/read-exif-data.xml	2018-02-01 14:36:20 UTC (rev 344150)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: nobody Status: ready -->
+<!-- EN-Revision: 342663 Maintainer: nobody Status: ready -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.78 -->
 <refentry xml:id="function.read-exif-data" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -15,6 +15,30 @@
    <function>exif_read_data</function>.
   </simpara>
  </refsect1>
+
+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <para>
+   <informaltable>
+    <tgroup cols="2">
+     <thead>
+      <row>
+       <entry>&Version;</entry>
+       <entry>&Description;</entry>
+      </row>
+     </thead>
+     <tbody>
+      <row>
+       <entry>7.2.0</entry>
+       <entry>
+        Dieser Funktionsalias wurde missbilligt.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </para>
+ </refsect1>
 </refentry>

 <!-- Keep this comment at the end of the file

Modified: phpdoc/de/trunk/reference/exif/setup.xml
===================================================================
--- phpdoc/de/trunk/reference/exif/setup.xml	2018-02-01 14:08:18 UTC (rev 344149)
+++ phpdoc/de/trunk/reference/exif/setup.xml	2018-02-01 14:36:20 UTC (rev 344150)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 342647 Maintainer: wiesemann Status: ready -->

 <chapter xml:id="exif.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  &reftitle.setup;
@@ -9,11 +9,18 @@
  <section xml:id="exif.requirements">
   &reftitle.required;
   <para>
-   PHP muss mit <literal>--enable-exif</literal> kompiliert werden.
-   PHP braucht keine weiteren Bibliotheken für das Exif-Modul. Windows-Nutzer
-   müssen zusätzlich noch die
-   <link linkend="ref.mbstring">mbstring</link>-Erweiterung aktiviert haben.
+   PHP muss mit <literal>--enable-exif</literal> kompiliert werden.
+   Um Multibyte-Unterstützung in EXIF-Tags zu aktivieren, muss die <link
+   linkend="ref.mbstring">mbstring</link> Extension durch Kompilieren von PHP
+   mit <literal>--enable-mbstring</literal> aktiviert sein.
+   PHP braucht keine weiteren Bibliotheken für das Exif-Modul.
   </para>
+  <para>
+   Nur für Windows: die <link linkend="ref.mbstring">mbstring</link> Extension
+   muss immer aktiviert sein. Es ist zu beachten, dass die <link
+   linkend="ref.mbstring">mbstring</link> Extension in
+   <filename>php.ini</filename> vor EXIF geladen werden muss.
+  </para>
  </section>
  <!-- }}} -->
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.