cvs: phpdoc-es /reference/image/functions imagecolortransparent.xml
| From: | Javier Eguiluz | Date: | Sat, 06 Aug 2005 14:08:27 +0000 |
| Subject: | cvs: phpdoc-es /reference/image/functions imagecolortransparent.xml | ||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-1229@lists.php.net to get a copy of this message | ||
javi Sat Aug 6 10:08:27 2005 EDT
Modified files:
/phpdoc-es/reference/image/functions imagecolortransparent.xml
Log:
- Añadido EN-Revision
- Actualizada la descripcion
http://cvs.php.net/diff.php/phpdoc-es/reference/image/functions/imagecolortransparent.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc-es/reference/image/functions/imagecolortransparent.xml
diff -u phpdoc-es/reference/image/functions/imagecolortransparent.xml:1.1
phpdoc-es/reference/image/functions/imagecolortransparent.xml:1.2
--- phpdoc-es/reference/image/functions/imagecolortransparent.xml:1.1 Sun Apr 14 20:14:51 2002
+++ phpdoc-es/reference/image/functions/imagecolortransparent.xml Sat Aug 6 10:08:27 2005
@@ -1,26 +1,45 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- splitted from ./es/functions/image.xml, last change in rev 1.1 -->
-<!-- last change to 'imagecolortransparent' in en/ tree in rev 1.36 -->
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.6 Maintainer: javi Status: ready -->
+<!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
<refentry id="function.imagecolortransparent">
<refnamediv>
- <refname>ImageColorTransparent</refname>
+ <refname>imagecolortransparent</refname>
<refpurpose>Define un color como transparente</refpurpose>
</refnamediv>
<refsect1>
<title>Descripción</title>
<methodsynopsis>
<type>int</type><methodname>imagecolortransparent</methodname>
-
<methodparam><type>int</type><parameter>im</parameter></methodparam>
+
<methodparam><type>resource</type><parameter>im</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>col</parameter></methodparam>
</methodsynopsis>
<para>
- ImageColorTransparent establece como color transparente a col en
- la imagen im. im es el identificador de imagen devuelto por
- <function>imagecreate</function> y col es el identificador
- de color devuelto por <function>imagecolorallocate</function>.</para>
+ <function>imagecolortransparent</function> establece como color transparente el
+ color indicado por <parameter>col</parameter> en la imagen
<parameter>im</parameter>.
+ <parameter>im</parameter> es el identificador de imagen devuelto por la
función
+ <function>imagecreate</function> y <parameter>col</parameter> es el
identificador
+ de color devuelto por <function>imagecolorallocate</function>.
+ </para>
+ <note>
+ <para>
+ El color transparente es una propiedad de la imagen, ya que la transparencia
+ no es una propiedad del color. Cuando se establece un color a transparente,
+ todas las regiones de la imagen que tengan ese color se transformarán a
+ transparentes.
+ </para>
+ </note>
+ <para>
+ Se devuelve el identificador del color transparente (o el actual,
+ si no se especifica ninguno).
+ </para>
+ <note>
<para>
- Se devuelve el identificador del color transparente (o el actual,
- si no se especifica ninguno).</para>
+ La transparencia se copia solo con <function>imagecopymerge</function>
+ y las imagenes de color real, no con <function>imagecopy</function> o
+ con las imagenes con paleta de color.
+ </para>
+ </note>
</refsect1>
</refentry>