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@337002 c90b9560-bf6c-de11-be94-00142212c4b1
206 lines
6.5 KiB
XML
206 lines
6.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 4eb6725632b8b05c84e509fd5013c2283f0d2e08 Maintainer: seros Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
|
|
<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>
|
|
Si tiene la biblioteca <acronym>GD</acronym> (disponible en <link
|
|
xlink:href="&url.gd;">&url.gd;</link>) también será capaz de crear
|
|
y manipular imágenes.
|
|
</para>
|
|
<para>
|
|
El formato de las imágenes que se pueden manipular depende de la
|
|
versión de <acronym>GD</acronym> que se instale, y se podría necesitar
|
|
otra biblioteca <acronym>GD</acronym> para acceder a esos formatos de imagen.
|
|
Las versiones de <acronym>GD</acronym> anteriores a gd-1.6
|
|
soportan el formato de imagen <acronym>GIF</acronym>, y no soportan
|
|
<acronym>PNG</acronym>, mientras que versiones posteriores a gd-1.6 y anteriores a
|
|
gd-2.0.28 soportan PNG, y no GIF. El soporte de <acronym>GIF</acronym>
|
|
fue rehabilitado en gd-2.0.28.
|
|
<note>
|
|
<simpara>
|
|
A partir de PHP 4.3 hay una versión incluida de la biblioteca <acronym>GD</acronym>.
|
|
Esta versión incluida tiene algunas características adicionales como mezcla
|
|
alfa, y se podría usar en preferencia a la biblioteca externa,
|
|
ya que su código base está mejor matenido y es más estable.
|
|
</simpara>
|
|
</note>
|
|
</para>
|
|
<para>
|
|
Puede querer mejorar <acronym>GD</acronym> para tratar más formatos de imagen.
|
|
<table>
|
|
<title>Formatos de imagen soportados</title>
|
|
<tgroup cols="3">
|
|
<thead>
|
|
<row>
|
|
<entry>Formato de imagen</entry>
|
|
<entry>Biblioteca para descargar</entry>
|
|
<entry>Anotaciones</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry><literal>gif</literal></entry>
|
|
<entry></entry>
|
|
<entry>
|
|
Sólo soportado en versiones de <acronym>GD</acronym> anteriores a gd-1.6 y posteriores a
|
|
gd-2.0.28. El soporte para <acronym>GIF</acronym> de <emphasis>Sólo lectura</emphasis>
|
|
está disponible con PHP 4.3.0 y la biblioteca GD incluida.
|
|
El soporte para <emphasis>Escritura</emphasis> está disponible desde
|
|
PHP 4.3.9 y PHP 5.0.1.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>jpeg</literal></entry>
|
|
<entry><link xlink:href="&url.jpeg;">&url.jpeg;</link></entry>
|
|
<entry>
|
|
Cuando se construye la biblioteca jpeg (antes de construir PHP) se
|
|
debe usar la opción <option role="configure">--enable-shared</option>
|
|
en la fase de configuración. Si no se hace, se recibirá
|
|
un error diciendo <literal>libjpeg.(a|so) not found</literal>
|
|
cuando esté en la fase de configuración de la construcción de PHP.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>png</literal></entry>
|
|
<entry><link xlink:href="&url.libpng;">&url.libpng;</link></entry>
|
|
<entry>
|
|
Sólo soportado en versiones de <acronym>GD</acronym> posteriores a gd-1.6.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>xpm</literal></entry>
|
|
<entry><link xlink:href="&url.libxpm;">&url.libxpm;</link></entry>
|
|
<entry>
|
|
Lo más probable es que esta biblioteca esté ya disponible si su sistema
|
|
tiene instalado un X-Environment.
|
|
</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
|
|
<para>
|
|
Puede querer mejorar <acronym>GD</acronym> para tratar con diferentes fuentes. Las siguientes
|
|
bibliotecas de fuentes están soportadas:
|
|
<table>
|
|
<title>Bibliotecas de fuentes soportadas</title>
|
|
<tgroup cols="3">
|
|
<thead>
|
|
<row>
|
|
<entry>Biblioteca de fuentes</entry>
|
|
<entry>Descarga</entry>
|
|
<entry>Anotaciones</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry><literal>FreeType 1.x</literal></entry>
|
|
<entry><link xlink:href="&url.freetype;">&url.freetype;</link></entry>
|
|
<entry>&removed.php.future;</entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>FreeType 2</literal></entry>
|
|
<entry><link xlink:href="&url.freetype;">&url.freetype;</link></entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>T1lib</literal></entry>
|
|
<entry><link xlink:href="&url.t1lib;">&url.t1lib;</link>)</entry>
|
|
<entry>
|
|
Soporte para fuentes Postscript Type 1. (Eliminada a partir de PHP 7.0.0).
|
|
</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
</section>
|
|
<!-- }}} -->
|
|
|
|
<!-- {{{ Installation -->
|
|
&reference.image.configure;
|
|
<!-- }}} -->
|
|
|
|
<!-- {{{ Configuration -->
|
|
&reference.image.ini;
|
|
<!-- }}} -->
|
|
|
|
<!-- {{{ Resources -->
|
|
<section xml:id="image.resources">
|
|
&reftitle.resources;
|
|
<para>
|
|
Esta extensió define los siguientes tipos de recursos:
|
|
<table>
|
|
<title>Lista de tipos de recursos en GD</title>
|
|
<tgroup cols="3">
|
|
<thead>
|
|
<row>
|
|
<entry>Nombre</entry>
|
|
<entry>Descripción</entry>
|
|
<entry>Notas</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry><literal>gd</literal></entry>
|
|
<entry>Recurso de imagen, empleado por funciones como <function>imagecreatefrompng</function></entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>gd font</literal></entry>
|
|
<entry>Recurso de fuente devuelto por <function>imageloadfont</function></entry>
|
|
<entry></entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>gd PS font</literal></entry>
|
|
<entry>Recurso de fuente de PostScript Tipo 1, devuelto por <function>imagepsloadfont</function></entry>
|
|
<entry>
|
|
Eliminado a partir de PHP 7.0.0.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>gd PS encoding</literal></entry>
|
|
<entry>Recurso de codificación de PostScript Tipo 1, devuelto por <function>imagepsencodefont</function></entry>
|
|
<entry>
|
|
Eliminado a partir de PHP 7.0.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
|
|
-->
|
|
|