mirror of
https://github.com/php/doc-es.git
synced 2026-03-23 23:12:09 +01:00
1120 lines
25 KiB
XML
1120 lines
25 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 7f5d646f3ee39231150e767fb876b56610f56c2b Maintainer: PhilDaiguille Status: ready -->
|
|
<!-- Reviewed: yes -->
|
|
<appendix xml:id="image.constants" xmlns="http://docbook.org/ns/docbook">
|
|
&reftitle.constants;
|
|
&extension.constants;
|
|
<variablelist>
|
|
<varlistentry xml:id="constant.gd-version">
|
|
<term>
|
|
<constant>GD_VERSION</constant>
|
|
(<type>string</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
La versión GD de PHP.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.gd-major-version">
|
|
<term>
|
|
<constant>GD_MAJOR_VERSION</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
La versión mayor GD de PHP.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.gd-minor-version">
|
|
<term>
|
|
<constant>GD_MINOR_VERSION</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
La versión menor GD de PHP.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.gd-release-version">
|
|
<term>
|
|
<constant>GD_RELEASE_VERSION</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
La versión GD incluida con PHP.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.gd-extra-version">
|
|
<term>
|
|
<constant>GD_EXTRA_VERSION</constant>
|
|
(<type>string</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
La versión "extra" GD (beta/rc..) de PHP.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.gd-bundled">
|
|
<term>
|
|
<constant>GD_BUNDLED</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Cuando se utiliza la versión interna de GD, esta constante vale 1,
|
|
de lo contrario, vale 0.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-avif">
|
|
<term>
|
|
<constant>IMG_AVIF</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.types;
|
|
<simpara>
|
|
(Disponible a partir de PHP 8.1.0)
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-bmp">
|
|
<term>
|
|
<constant>IMG_BMP</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.types;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-gif">
|
|
<term>
|
|
<constant>IMG_GIF</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.types;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-jpg">
|
|
<term>
|
|
<constant>IMG_JPG</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.types;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-jpeg">
|
|
<term>
|
|
<constant>IMG_JPEG</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.types;
|
|
<note>
|
|
<para>
|
|
Esta constante tiene el mismo valor que <constant>IMG_JPG</constant>
|
|
</para>
|
|
</note>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-png">
|
|
<term>
|
|
<constant>IMG_PNG</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.types;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-tga">
|
|
<term>
|
|
<constant>IMG_TGA</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.types;
|
|
<simpara>
|
|
(Disponible a partir de PHP 7.4.0)
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-wbmp">
|
|
<term>
|
|
<constant>IMG_WBMP</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.types;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-xpm">
|
|
<term>
|
|
<constant>IMG_XPM</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.types;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-webp">
|
|
<term>
|
|
<constant>IMG_WEBP</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.types;
|
|
<simpara>
|
|
(Disponible a partir de PHP 7.0.10)
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-webp-lossless">
|
|
<term>
|
|
<constant>IMG_WEBP_LOSSLESS</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
(Disponible a partir de PHP 8.1.0)
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-color-tiled">
|
|
<term>
|
|
<constant>IMG_COLOR_TILED</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.color;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-color-styled">
|
|
<term>
|
|
<constant>IMG_COLOR_STYLED</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.color;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-color-brushed">
|
|
<term>
|
|
<constant>IMG_COLOR_BRUSHED</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.color;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-color-styledbrushed">
|
|
<term>
|
|
<constant>IMG_COLOR_STYLEDBRUSHED</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.color;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-color-transparent">
|
|
<term>
|
|
<constant>IMG_COLOR_TRANSPARENT</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.color;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-affine-translate">
|
|
<term>
|
|
<constant>IMG_AFFINE_TRANSLATE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.affine;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-affine-scale">
|
|
<term>
|
|
<constant>IMG_AFFINE_SCALE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.affine;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-affine-rotate">
|
|
<term>
|
|
<constant>IMG_AFFINE_ROTATE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.affine;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-affine-shear-horizontal">
|
|
<term>
|
|
<constant>IMG_AFFINE_SHEAR_HORIZONTAL</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.affine;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-affine-shear-vertical">
|
|
<term>
|
|
<constant>IMG_AFFINE_SHEAR_VERTICAL</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.affine;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-arc-rounded">
|
|
<term>
|
|
<constant>IMG_ARC_ROUNDED</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.arc;
|
|
<note>
|
|
<para>
|
|
Esta constante tiene el mismo valor que <constant>IMG_ARC_PIE</constant>
|
|
</para>
|
|
</note>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-arc-pie">
|
|
<term>
|
|
<constant>IMG_ARC_PIE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.arc;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-arc-chord">
|
|
<term>
|
|
<constant>IMG_ARC_CHORD</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.arc;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-arc-nofill">
|
|
<term>
|
|
<constant>IMG_ARC_NOFILL</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.arc;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-arc-edged">
|
|
<term>
|
|
<constant>IMG_ARC_EDGED</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.arc;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-gd2-raw">
|
|
<term>
|
|
<constant>IMG_GD2_RAW</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.gd2;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-gd2-compressed">
|
|
<term>
|
|
<constant>IMG_GD2_COMPRESSED</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.gd2;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-effect-replace">
|
|
<term>
|
|
<constant>IMG_EFFECT_REPLACE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.effect;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-effect-alphablend">
|
|
<term>
|
|
<constant>IMG_EFFECT_ALPHABLEND</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.effect;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-effect-normal">
|
|
<term>
|
|
<constant>IMG_EFFECT_NORMAL</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.effect;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-effect-overlay">
|
|
<term>
|
|
<constant>IMG_EFFECT_OVERLAY</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.effect;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-effect-multiply">
|
|
<term>
|
|
<constant>IMG_EFFECT_MULTIPLY</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.effect;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-filter-negate">
|
|
<term>
|
|
<constant>IMG_FILTER_NEGATE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.filter;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-filter-grayscale">
|
|
<term>
|
|
<constant>IMG_FILTER_GRAYSCALE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.filter;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-filter-brightness">
|
|
<term>
|
|
<constant>IMG_FILTER_BRIGHTNESS</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.filter;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-filter-contrast">
|
|
<term>
|
|
<constant>IMG_FILTER_CONTRAST</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.filter;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-filter-colorize">
|
|
<term>
|
|
<constant>IMG_FILTER_COLORIZE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.filter;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-filter-edgedetect">
|
|
<term>
|
|
<constant>IMG_FILTER_EDGEDETECT</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.filter;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-filter-gaussian-blur">
|
|
<term>
|
|
<constant>IMG_FILTER_GAUSSIAN_BLUR</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.filter;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-filter-selective-blur">
|
|
<term>
|
|
<constant>IMG_FILTER_SELECTIVE_BLUR</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.filter;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-filter-emboss">
|
|
<term>
|
|
<constant>IMG_FILTER_EMBOSS</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.filter;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-filter-mean-removal">
|
|
<term>
|
|
<constant>IMG_FILTER_MEAN_REMOVAL</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.filter;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-filter-smooth">
|
|
<term>
|
|
<constant>IMG_FILTER_SMOOTH</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.filter;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-filter-pixelate">
|
|
<term>
|
|
<constant>IMG_FILTER_PIXELATE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.filter;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-filter-scatter">
|
|
<term>
|
|
<constant>IMG_FILTER_SCATTER</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.filter;
|
|
<simpara>
|
|
(Disponible a partir de PHP 7.4.0)
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.imagetype-gif">
|
|
<term>
|
|
<constant>IMAGETYPE_GIF</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.type;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.imagetype-jpeg">
|
|
<term>
|
|
<constant>IMAGETYPE_JPEG</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.type;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.imagetype-jpeg2000">
|
|
<term>
|
|
<constant>IMAGETYPE_JPEG2000</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.type;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.imagetype-png">
|
|
<term>
|
|
<constant>IMAGETYPE_PNG</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.type;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.imagetype-swf">
|
|
<term>
|
|
<constant>IMAGETYPE_SWF</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.type;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.imagetype-psd">
|
|
<term>
|
|
<constant>IMAGETYPE_PSD</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.type;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.imagetype-bmp">
|
|
<term>
|
|
<constant>IMAGETYPE_BMP</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.type;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.imagetype-wbmp">
|
|
<term>
|
|
<constant>IMAGETYPE_WBMP</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.type;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.imagetype-xbm">
|
|
<term>
|
|
<constant>IMAGETYPE_XBM</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.type;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.imagetype-tiff-ii">
|
|
<term>
|
|
<constant>IMAGETYPE_TIFF_II</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.type;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.imagetype-tiff-mm">
|
|
<term>
|
|
<constant>IMAGETYPE_TIFF_MM</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.type;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.imagetype-iff">
|
|
<term>
|
|
<constant>IMAGETYPE_IFF</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.type;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.imagetype-jb2">
|
|
<term>
|
|
<constant>IMAGETYPE_JB2</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.type;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.imagetype-jpc">
|
|
<term>
|
|
<constant>IMAGETYPE_JPC</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.type;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.imagetype-jp2">
|
|
<term>
|
|
<constant>IMAGETYPE_JP2</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.type;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.imagetype-jpx">
|
|
<term>
|
|
<constant>IMAGETYPE_JPX</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.type;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.imagetype-swc">
|
|
<term>
|
|
<constant>IMAGETYPE_SWC</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.type;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.imagetype-ico">
|
|
<term>
|
|
<constant>IMAGETYPE_ICO</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.type;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.imagetype-webp">
|
|
<term>
|
|
<constant>IMAGETYPE_WEBP</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.type;
|
|
<simpara>
|
|
(Disponible a partir de PHP 7.1.0)
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.imagetype-avif">
|
|
<term>
|
|
<constant>IMAGETYPE_AVIF</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.type;
|
|
<simpara>
|
|
(Disponible a partir de PHP 8.1.0)
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.imagetype-unknown">
|
|
<term>
|
|
<constant>IMAGETYPE_UNKNOWN</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.type;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.imagetype-count">
|
|
<term>
|
|
<constant>IMAGETYPE_COUNT</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
El número de constantes de tipo de imagen (incluyendo el tipo "desconocido")
|
|
soportadas por las funciones <function>image_type_to_mime_type</function> y <function>image_type_to_extension</function>
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.png-no-filter">
|
|
<term>
|
|
<constant>PNG_NO_FILTER</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.png-filter;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.png-filter-none">
|
|
<term>
|
|
<constant>PNG_FILTER_NONE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.png-filter;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.png-filter-sub">
|
|
<term>
|
|
<constant>PNG_FILTER_SUB</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.png-filter;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.png-filter-up">
|
|
<term>
|
|
<constant>PNG_FILTER_UP</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.png-filter;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.png-filter-avg">
|
|
<term>
|
|
<constant>PNG_FILTER_AVG</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.png-filter;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.png-filter-paeth">
|
|
<term>
|
|
<constant>PNG_FILTER_PAETH</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.png-filter;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.png-all-filters">
|
|
<term>
|
|
<constant>PNG_ALL_FILTERS</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.png-filter;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-flip-vertical">
|
|
<term>
|
|
<constant>IMG_FLIP_VERTICAL</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.flip;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-flip-horizontal">
|
|
<term>
|
|
<constant>IMG_FLIP_HORIZONTAL</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.flip;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-flip-both">
|
|
<term>
|
|
<constant>IMG_FLIP_BOTH</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.flip;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-bell">
|
|
<term>
|
|
<constant>IMG_BELL</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.interpolation;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-bessel">
|
|
<term>
|
|
<constant>IMG_BESSEL</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.interpolation;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-bilinear-fixed">
|
|
<term>
|
|
<constant>IMG_BILINEAR_FIXED</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.interpolation;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-bicubic">
|
|
<term>
|
|
<constant>IMG_BICUBIC</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.interpolation;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-bicubic-fixed">
|
|
<term>
|
|
<constant>IMG_BICUBIC</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.interpolation;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-blackman">
|
|
<term>
|
|
<constant>IMG_BLACKMAN</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.interpolation;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-box">
|
|
<term>
|
|
<constant>IMG_BOX</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.interpolation;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-bspline">
|
|
<term>
|
|
<constant>IMG_BSPLINE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.interpolation;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-catmullrom">
|
|
<term>
|
|
<constant>IMG_CATMULLROM</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.interpolation;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-gaussian">
|
|
<term>
|
|
<constant>IMG_GAUSSIAN</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.interpolation;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-generalized-cubic">
|
|
<term>
|
|
<constant>IMG_GENERALIZED_CUBIC</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.interpolation;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-hermite">
|
|
<term>
|
|
<constant>IMG_HERMITE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.interpolation;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-hamming">
|
|
<term>
|
|
<constant>IMG_HAMMING</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.interpolation;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-hanning">
|
|
<term>
|
|
<constant>IMG_HANNING</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.interpolation;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-mitchell">
|
|
<term>
|
|
<constant>IMG_MITCHELL</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.interpolation;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-power">
|
|
<term>
|
|
<constant>IMG_POWER</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.interpolation;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-quadratic">
|
|
<term>
|
|
<constant>IMG_QUADRATIC</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.interpolation;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-sinc">
|
|
<term>
|
|
<constant>IMG_SINC</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.interpolation;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-nearest-neighbour">
|
|
<term>
|
|
<constant>IMG_NEAREST_NEIGHBOUR</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.interpolation;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-weighted4">
|
|
<term>
|
|
<constant>IMG_WEIGHTED4</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.interpolation;
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="constant.img-triangle">
|
|
<term>
|
|
<constant>IMG_TRIANGLE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
&gd.constants.interpolation;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-crop-black">
|
|
<term>
|
|
<constant>IMG_CROP_BLACK</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Recorta un fondo negro.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-crop-default">
|
|
<term>
|
|
<constant>IMG_CROP_DEFAULT</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Idéntico a <constant>IMG_CROP_TRANSPARENT</constant>.
|
|
Antes de PHP 7.4.0, la libgd incluida volvía a <constant>IMG_CROP_SIDES</constant>
|
|
si la imagen no tenía color transparente.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-crop-sides">
|
|
<term>
|
|
<constant>IMG_CROP_SIDES</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Utiliza las 4 esquinas de la imagen para intentar detectar el fondo a recortar.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-crop-threshold">
|
|
<term>
|
|
<constant>IMG_CROP_THRESHOLD</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Recorta una imagen utilizando el <parameter>umbral</parameter>
|
|
y el <parameter>color</parameter> dados.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-crop-transparent">
|
|
<term>
|
|
<constant>IMG_CROP_TRANSPARENT</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Recorta un fondo transparente.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.img-crop-white">
|
|
<term>
|
|
<constant>IMG_CROP_WHITE</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Recorta un fondo blanco.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</appendix>
|
|
<!-- 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
|
|
-->
|