#38179 [Asn->Csd]: Patch to enable copying of partial transparency palette images
| From: | pajoye@php.net | Date: | Sun, 23 Jul 2006 21:51:44 +0000 |
| Subject: | #38179 [Asn->Csd]: Patch to enable copying of partial transparency palette images | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-99807@lists.php.net to get a copy of this message | ||
ID: 38179
Updated by: pajoye@php.net
Reported By: seth at pricepages dot org
-Status: Assigned
+Status: Closed
Bug Type: GD related
Operating System: Mac 10.4
PHP Version: 5.1.4
Assigned To: pajoye
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Ok I got the problem. I did not use your patch, it modifies the wrong
of the code, breaking other features. However thanks you to have tried
:)
Fixed in 5.2 and HEAD.
Previous Comments:
------------------------------------------------------------------------
[2006-07-23 17:46:11] seth at pricepages dot org
I've upped an example at:
http://pricepages.org/temp/grad.zip
Included is the source image, test script, and two output
files. The test composites the source image grad.png (a
alpha gradient) onto a blank white canvas.
test.orig.png is what the output should currently look like.
test.patch.png is how it looks after the patch.
------------------------------------------------------------------------
[2006-07-23 09:24:19] pajoye@php.net
Which are you trying to solve?
Please post a link to script to reproduce your problem, with the
expected image and what you get.
------------------------------------------------------------------------
[2006-07-21 17:12:47] seth at pricepages dot org
Description:
------------
I've made a few tweaks to GD to get it to support partial
palette transparency better.
The (now fixed) problem was that if a partial transparency
palette image was copied over any background, the palette
image became opaque.
http://pricepages.org/temp/trans.diff
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38179&edit=1