php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38179 Patch to enable copying of partial transparency palette images
Submitted: 2006-07-21 17:12 UTC Modified: 2006-07-23 21:51 UTC
From: seth at pricepages dot org Assigned: pajoye (profile)
Status: Closed Package: GD related
PHP Version: 5.1.4 OS: Mac 10.4
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: seth at pricepages dot org
New email:
PHP Version: OS:

 

 [2006-07-21 17:12 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-07-23 09:24 UTC] 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-23 17:46 UTC] 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 21:51 UTC] pajoye@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 11:01:29 2024 UTC