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

From: Date: Sat, 07 Dec 2002 21:09:51 +0000
Subject: #20880 [Opn->Fbk]: 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-27000@lists.php.net to get a copy of this message
ID: 20880 Updated by: iliaa@php.net Reported By: rc@opelgt.org -Status: Open +Status: Feedback Bug Type: GD related Operating System: Mac OSX 10.2.2 PHP Version: 4.2.3 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#27000) next »