#50183 [NoF->Opn]: What feedback is expected?
| From: | scratch65535 at att dot net | Date: | Mon, 23 Nov 2009 14:42:29 +0000 |
| Subject: | #50183 [NoF->Opn]: What feedback is expected? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-144964@lists.php.net to get a copy of this message | ||
ID: 50183
User updated by: scratch65535 at att dot net
-Summary: PNG alpha blending doesn't seem to work
Reported By: scratch65535 at att dot net
-Status: No Feedback
+Status: Open
Bug Type: GD related
Operating System: W2K
PHP Version: 5.2.11
New Comment:
I'm confused. The status shows as "no feedback" in r/o mode, but
"open" in edit mode. I don't know what feedback was/is expected - as
far as I'm aware, it's an open problem. Am I expected to post another
comment every week to keep it open, or what?
Previous Comments:
------------------------------------------------------------------------
[2009-11-23 01:00:02] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2009-11-15 18:29:52] scratch65535 at att dot net
So the documentation is broken then?
"The two images will be merged according to pct which can range from 0
to 100. When pct = 0, no action is taken, when 100 this function behaves
identically to imagecopy() for pallete images, while it implements alpha
transparency for true colour images. "
------------------------------------------------------------------------
[2009-11-15 18:26:39] scratch65535 at att dot net
UGH! I just did another test using a more sophisticated image
(semi-transparent pixels) and "GIF mode" doesn't work for what I want.
It seems possible that imageCopyMerge() might be the culprit here or at
least one of them, because if I call imagePNG on the $src, I don't get
the white background color.
------------------------------------------------------------------------
[2009-11-15 18:21:58] pajoye@php.net
Quick note: imagecopymerge is not supposed to work with alpha. See the
examples code here: http://pierre.libgd.org/watermark/
------------------------------------------------------------------------
[2009-11-15 17:50:06] scratch65535 at att dot net
Expected:
http://www.kalleload.net/uploads/gricmj/suhmidvvdrvt.jpg
Got:
http://www.kalleload.net/uploads/otgxlc/fdahibpvswas.jpg
As I mentioned, I can get rid of the magenta - I left it in to show the
size of the "assembly" area. But that white background in the PNG
defeats me.
------------------------------------------------------------------------
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/50183
--
Edit this bug report at http://bugs.php.net/?id=50183&edit=1