#20880 [Opn]: In ImageCopy transparency of the top grafic dominates color of the bottom grafic

From: Date: Sun, 08 Dec 2002 01:30:54 +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-27014@lists.php.net to get a copy of this message
ID: 20880 Updated by: pajoye@php.net 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: <Try what?> These 2 links pointed you to the latest development version of php. The 1st link is the linux sources, the 2nd in the windows binary version (which you can use on a windows box as a full replacement of your current installation for tests purpose). In the case you will test with one these version, please use the bundled gd library (compile with "--with-gd" to get it). Then can you try to export it as a png image and post an url here ? pierre You have sent me twice the same link. When I have no C-Compiler (or what kind of source is this?) what shall I do with it? Previous Comments: ------------------------------------------------------------------------ [2002-12-07 19:11:32] rc@opelgt.org Try what? You have sent me twice the same link. When I have no C-Compiler (or what kind of source is this?) what shall I do with it? Rüdiger ------------------------------------------------------------------------ [2002-12-07 17:34:26] 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 Download the latest PHP snapshot from the URL in this message and try it. ------------------------------------------------------------------------ [2002-12-07 17:22:44] rc@opelgt.org Thanks for fast response. What did you mail me? Source code? I do not know what to do with it. Sorry, Rüdiger ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/20880 -- Edit this bug report at http://bugs.php.net/?id=20880&edit=1

« previous php.bugs (#27014) next »