cvs: phpdoc /en/functions image.xml

From: Date: Thu, 20 Dec 2001 22:05:04 +0000
Subject: cvs: phpdoc /en/functions image.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969340177@lists.php.net to get a copy of this message
jimw Thu Dec 20 17:05:04 2001 EDT Modified files: /phpdoc/en/functions image.xml Log: imagecolortransparent: explain how the transparent color works, based on user note Index: phpdoc/en/functions/image.xml diff -u phpdoc/en/functions/image.xml:1.71 phpdoc/en/functions/image.xml:1.72 --- phpdoc/en/functions/image.xml:1.71 Thu Dec 20 15:38:26 2001 +++ phpdoc/en/functions/image.xml Thu Dec 20 17:05:04 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.71 $ --> +<!-- $Revision: 1.72 $ --> <reference id="ref.image"> <title>Image functions</title> <titleabbrev>Image</titleabbrev> @@ -893,11 +893,19 @@ <para> <function>ImageColorTransparent</function> sets the transparent color in the <parameter>im</parameter> image to - <parameter>col</parameter>. <parameter>Im</parameter> is the + <parameter>col</parameter>. <parameter>im</parameter> is the image identifier returned by <function>ImageCreate</function> and <parameter>col</parameter> is a color identifier returned by <function>ImageColorAllocate</function>. </para> + <note> + <para> + The transparent color is a property of the image, transparency is not a + property of the color. Once you have a set a color to be the transparent + color, any regions of the image in that color that were drawn previously + will be transparent. + </para> + </note> <para> The identifier of the new (or current, if none is specified) transparent color is returned.

« previous php.doc (#969340177) next »