ID: 50183
Comment by: scratch65535 at att dot net
Reported By: scratch65535 at att dot net
Status: Feedback
Bug Type: GD related
Operating System: W2K
PHP Version: 5.2.11
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2009-11-15 17:31:56] pajoye@php.net
Upload the two images here: http://kalleload.net/, that will do
it just
fine.
------------------------------------------------------------------------
[2009-11-15 17:30:40] scratch65535 at att dot net
AT&T is my only web access, and they don't seem to support PHP. I can
upload screenshots if that's what you're looking for, but of course
they'll just be dead bitmaps.
------------------------------------------------------------------------
[2009-11-15 16:46:58] pajoye@php.net
Please provide a link to the image you get and what you would expect.
------------------------------------------------------------------------
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