#20880 [Fbk->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 23:22:44 +0000 |
| Subject: | #20880 [Fbk->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-27009@lists.php.net to get a copy of this message | ||
ID: 20880
User updated by: rc@opelgt.org
Reported By: rc@opelgt.org
-Status: Feedback
+Status: Open
Bug Type: GD related
Operating System: Mac OSX 10.2.2
PHP Version: 4.2.3
New Comment:
Thanks for fast response. What did you mail me?
Source code?
I do not know what to do with it.
Sorry, Rüdiger
Previous Comments:
------------------------------------------------------------------------
[2002-12-07 15:09:50] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Please use the bundled gd included with the STABLE snapshot.
------------------------------------------------------------------------
[2002-12-07 12:36:23] 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.
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
------------------------------------------------------------------------
[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