#20880 [Opn]: In ImageCopy transparency of the top grafic dominates color of the bottom grafic
| From: | rc at opelgt dot org | Date: | Sat, 07 Dec 2002 18:36:24 +0000 |
| Subject: | #20880 [Opn]: In ImageCopy transparency of the top grafic dominates color of the bottom grafic | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26994@lists.php.net to get a copy of this message | ||
ID: 20880
User updated by: rc@opelgt.org
-Summary: In ImageCopy transparency of the top grafic dominates
colors othe bottom grafic
Reported By: rc@opelgt.org
Status: Open
Bug Type: GD related
Operating System: Mac OSX 10.2.2
PHP Version: 4.2.3
New Comment:
I have two png-files, both with transparency.
With ImageCopy the transparency area of the second graphic will
dominate the white area of the first graphic at the bottom.
Example at http://rc.opelgt.org/rechnereien/bug.gif
in the left bottom (origin) of the diagramm:
Ok: at the left GD 1.6 with GIFs,
bad: at the right GD 2.0 with PNGs.
My suggestion:
a switch to set the behavior
1. transparency of the second leaves the bottom grafic unmodified. Good
for my application.
2. transparency of the second grafic dominates the first grafic. Good
for perforating the first grafic
With kind regards,
Rüdiger
Previous Comments:
------------------------------------------------------------------------
[2002-12-07 12:03:51] rc@opelgt.org
I have two png-files, both with transparency.
With ImageCopy the transparency area of the second graphic will
dominate the white area of the first graphic at the bottom.
Example at http://rc.opelgt.org/rechnereien/bug.gif
in the left bottom (origin) of the diagramm:
Ok: at the left GD 1.6 with GIFs,
bad: at the right GD 2.0 with PNGs.
With kind regards,
Rüdiger
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20880&edit=1