mirror of
https://github.com/php/doc-de.git
synced 2026-03-24 07:12:15 +01:00
172 lines
4.8 KiB
XML
172 lines
4.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 9ba738103b63ee4f129dadf3f8585568609e63b7 Maintainer: jaenecke Status: ready -->
|
|
<!-- Reviewed: yes -->
|
|
<!-- Rev-Revision: a7e5e563d2d2269a6d7ccff506715a3e1a6f3902 Reviewer: samesch -->
|
|
<chapter xml:id="image.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
&reftitle.setup;
|
|
|
|
<!-- {{{ Requirements -->
|
|
<section xml:id="image.requirements">
|
|
&reftitle.required;
|
|
<para>
|
|
Mit der <acronym>GD</acronym>-Bibliothek (verfügbar unter
|
|
<link xlink:href="&url.gd;">&url.gd;</link>) können Sie auch Grafiken
|
|
erzeugen und manipulieren.
|
|
</para>
|
|
<para>
|
|
Die mittels dieser Funktionen veränderbaren Grafik-Formate hängen davon ab,
|
|
welche Version von <acronym>GD</acronym> Sie installieren und welche
|
|
zusätzlichen Bibliotheken <acronym>GD</acronym> benötigt, um mit diesen
|
|
Formaten umgehen zu können.
|
|
<note>
|
|
<simpara>
|
|
libgd-2.1.0 oder höher wird benötigt. Alternativ kann die gebündelte
|
|
<acronym>GD</acronym>-Bibliothek verwendet werden, die mit PHP
|
|
ausgeliefert wird.
|
|
</simpara>
|
|
</note>
|
|
<note>
|
|
<simpara>
|
|
Die <acronym>GD</acronym>-Bibliothek benötigt zlib >= 1.2.0.4.
|
|
</simpara>
|
|
</note>
|
|
</para>
|
|
<para>
|
|
Sie können <acronym>GD</acronym> erweitern, um mehr Grafikformate zu
|
|
verwenden.
|
|
<table>
|
|
<title>Unterstützte Grafikformate</title>
|
|
<tgroup cols="3">
|
|
<thead>
|
|
<row>
|
|
<entry>Grafikformat</entry>
|
|
<entry>Download der benötigten Bibliothek</entry>
|
|
<entry>Anmerkungen</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry><literal>gif</literal></entry>
|
|
<entry></entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>avif</literal></entry>
|
|
<entry></entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>jpeg</literal></entry>
|
|
<entry><link xlink:href="&url.jpeg;">&url.jpeg;</link></entry>
|
|
<entry>
|
|
Wenn Sie die jpeg-Bibliothek übersetzen (vor dem Übersetzen von PHP),
|
|
müssen Sie die Option
|
|
<option role="configure">--enable-shared</option> im
|
|
configure-Schritt verwenden. Wenn Sie dies nicht tun, werden Sie beim
|
|
configure-Schritt der PHP-Übersetzung den Fehler
|
|
<literal>libjpeg.(a|so) not found</literal> erhalten.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>png</literal></entry>
|
|
<entry><link xlink:href="&url.libpng;">&url.libpng;</link></entry>
|
|
<entry>
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>xpm</literal></entry>
|
|
<entry><link xlink:href="&url.libxpm;">&url.libxpm;</link></entry>
|
|
<entry>
|
|
Wenn Ihr System über eine installierte X-Umgebung verfügt, ist diese
|
|
Bibliothek wahrscheinlich bereits vorhanden.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>webp</literal></entry>
|
|
<entry></entry>
|
|
<entry></entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
<para>
|
|
Sie können <acronym>GD</acronym> erweitern, um unterschiedliche Schriften
|
|
zu verwenden. Die
|
|
<link xlink:href="&url.freetype;">Freetype 2</link>-Bibliothek wird
|
|
unterstützt.
|
|
</para>
|
|
</section>
|
|
<!-- }}} -->
|
|
|
|
<!-- {{{ Installation -->
|
|
&reference.image.configure;
|
|
<!-- }}} -->
|
|
|
|
<!-- {{{ Configuration -->
|
|
&reference.image.ini;
|
|
<!-- }}} -->
|
|
|
|
<!-- {{{ Resources -->
|
|
<section xml:id="image.resources">
|
|
&reftitle.resources;
|
|
<para>
|
|
Diese Erweiterung definiert die folgenden Ressourcen-Typen:
|
|
<table>
|
|
<title>Liste von Ressourcen-Typen in GD</title>
|
|
<tgroup cols="3">
|
|
<thead>
|
|
<row>
|
|
<entry>Name</entry>
|
|
<entry>Beschreibung</entry>
|
|
<entry>Bemerkungen</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry><literal>gd</literal></entry>
|
|
<entry>
|
|
Bild-Ressource, verwendet von Funktionen wie
|
|
<function>imagecreatefrompng</function>
|
|
</entry>
|
|
<entry>Vor PHP 8.0.0</entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>gd font</literal></entry>
|
|
<entry>
|
|
Schriftarten-Ressource, die intern von
|
|
<function>imageloadfont</function> erzeugt wird
|
|
</entry>
|
|
<entry>Vor PHP 8.1.0</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
</section>
|
|
<!-- }}} -->
|
|
|
|
</chapter>
|
|
|
|
<!-- 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:"~/.phpdoc/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
|
|
-->
|