mirror of
https://github.com/php/doc-es.git
synced 2026-03-26 08:22:08 +01:00
git-svn-id: https://svn.php.net/repository/phpdoc/es/trunk@337144 c90b9560-bf6c-de11-be94-00142212c4b1
145 lines
4.6 KiB
XML
145 lines
4.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: d69ec35c86101a3d8d7f09399883182b4eabb47e Maintainer: seros Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
<section xml:id="image.installation" xmlns="http://docbook.org/ns/docbook">
|
|
&reftitle.install;
|
|
<para>
|
|
Para habilitar el soporte para GD configure PHP con
|
|
<option role="configure">--with-gd[=DIR]</option>, donde DIR es el directorio de
|
|
intalacion base de GD. Para usar la versión de la biblioteca GD incluida recomendada
|
|
(la cual fue primero incluida en PHP 4.3.0), use la opción de configuración
|
|
<option role="configure">--with-gd</option>.
|
|
La biblioteca GD requiere <productname>libpng</productname> y
|
|
<productname>libjpeg</productname> para compilarse.
|
|
</para>
|
|
<para>
|
|
En Windows, incluirá la DLL GD2 <filename>php_gd2.dll</filename> como
|
|
una extensión en &php.ini;. La DLL GD1 <filename>php_gd.dll</filename> fue
|
|
eliminada en PHP 4.3.2. Observe también que las funciones preferentes de imágenes
|
|
de color verdadero, tales como <function>imagecreatetruecolor</function>, requieren GD2.
|
|
</para>
|
|
|
|
<para>
|
|
Mejore las capacidades de GD para manejar más formatos de imagen especificando
|
|
la opción de configuración <literal>--with-XXXX</literal> en la línea de configuración de
|
|
PHP.
|
|
<table>
|
|
<title>Formatos de imagen soportados</title>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>Formato de Imagen</entry>
|
|
<entry>Opción de Configuración</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry><literal>jpeg</literal></entry>
|
|
<entry>
|
|
Para habilitar el suporte para jpeg añadir
|
|
<option role="configure">--with-jpeg-dir=DIR</option>. Jpeg 6b, 7 o 8
|
|
están soportados.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>png</literal></entry>
|
|
<entry>
|
|
Para habilitar el soporte para png añada
|
|
<option role="configure">--with-png-dir=DIR</option>. Nota, libpng
|
|
requiere la <link linkend="zlib.requirements">biblioteca zlib</link>,
|
|
por lo tanto añada <option role="configure">--with-zlib-dir[=DIR]</option>
|
|
a la línea de configuración.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>xpm</literal></entry>
|
|
<entry>
|
|
Para habilitar el soporte para xpm añada
|
|
<option role="configure">--with-xpm-dir=DIR</option>. Si la configuración
|
|
no es capaz de encontrar las bibliotecas requeridas, se puede añadir la ruta a
|
|
las bibliotecas X11.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>webp</literal></entry>
|
|
<entry>
|
|
Para habilitar el soorte para webp añada
|
|
<option role="configure">--with-vpx-dir=DIR</option>. Disponible a partri de PHP
|
|
5.5.
|
|
</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
<note>
|
|
<simpara>
|
|
Cuando se compila PHP con libpng, se debe usar la misma versión que fue
|
|
enlazada con la biblioteca GD.
|
|
</simpara>
|
|
</note>
|
|
</para>
|
|
<para>
|
|
Mejore las capacidades de GD para tratar con difenrentes fuentes especificando
|
|
la opción de configuración <literal>--with-XXXX</literal> en la línea de configuración de
|
|
PHP.
|
|
<table>
|
|
<title>Bibliotecas de fuentes soportadas</title>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>Biblioteca de fuentes</entry>
|
|
<entry>Opción de configuración</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry><literal>FreeType 2</literal></entry>
|
|
<entry>
|
|
Para habilitar el soporte para FreeType 2 añada
|
|
<option role="configure">--with-freetype-dir=DIR</option>.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>T1lib</literal></entry>
|
|
<entry>
|
|
Para habilitar el soporte para T1lib (fuentes Postscript Type 1) añada
|
|
<option role="configure">--with-t1lib[=DIR]</option>. (Eliminada
|
|
a partir de PHP 7.0.0).
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>Función de cadena TrueType nativa</literal></entry>
|
|
<entry>
|
|
Para habilitar el soporte para la función de cadena TrueType nativa añada
|
|
<option role="configure">--enable-gd-native-ttf</option>.
|
|
</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
</section>
|
|
|
|
|
|
<!-- 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
|
|
-->
|