mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Copying transparency (bug #18527)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164374 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
ab4fd0ca34
commit
9b98625ba8
2 changed files with 11 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
|
||||
<refentry id="function.imagecolortransparent">
|
||||
<refnamediv>
|
||||
|
@ -24,7 +24,7 @@
|
|||
<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
|
||||
property of the color. Once you have set a color to be the transparent
|
||||
color, any regions of the image in that color that were drawn previously
|
||||
will be transparent.
|
||||
</para>
|
||||
|
@ -33,6 +33,12 @@
|
|||
The identifier of the new (or current, if none is specified)
|
||||
transparent color is returned.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
Transparency is copied only with <function>imagecopymerged</function> and
|
||||
true color images, not with <function>imagecopy</function> or pallete images.
|
||||
</note>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
|
||||
<refentry id="function.imagecopymerge">
|
||||
<refnamediv>
|
||||
|
@ -31,7 +31,8 @@
|
|||
The two images will be merged according to <parameter>pct</parameter>
|
||||
which can range from 0 to 100. When <parameter>pct</parameter> = 0,
|
||||
no action is taken, when 100 this function behaves identically
|
||||
to <function>imagecopy</function>.
|
||||
to <function>imagecopy</function> for pallete images, while it
|
||||
implements alpha transparency for true colour images.
|
||||
</para>
|
||||
<note><para>This function was added in PHP 4.0.6</para></note>
|
||||
</refsect1>
|
||||
|
|
Loading…
Reference in a new issue