ID: 34357 Updated by: [EMAIL PROTECTED] Reported By: zakay at danial dot se -Status: Open +Status: Feedback Bug Type: GD related Operating System: Gentoo Linux, OS X, Windows XP PHP Version: 5.0.4 Assigned To: pajoye New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Please read my answer and how works antiaalising in general. You have a _transparent color, and this color is white. Your draw a white line, what do you expect? Or should I automagically know the color used when you display the images? (in your case the grey of your page). Or what do you consider as correct blending method in this case? --Pierre Previous Comments: ------------------------------------------------------------------------ [2005-09-03 14:21:43] zakay at danial dot se I don't want it to blend the color, but imageline with antialias enabled thinks that the background is none- transparent and thus the result.. no smooth line.. but a thicker line where instead it would be antialiased. ------------------------------------------------------------------------ [2005-09-03 14:14:12] zakay at danial dot se Have you even seen the link I posted? Really do check the link and then tell me its not a bug. And please this is a very easy code, give me the solution then? I opened the source code for that part, and I say the BLEND function, and it doesn't do alpha blending correctly. See the link, please. ------------------------------------------------------------------------ [2005-09-03 12:59:49] [EMAIL PROTECTED] Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Your background is white, whether it is full transparent or not is not really relevant. White on white does not use any blending method. ------------------------------------------------------------------------ [2005-09-03 11:50:25] zakay at danial dot se Description: ------------ When drawing antialias lines on semi or fully transparent pictures the alpha value on the bg isn't accounted for. And the color blending isn't working correctly. Reproduce code: --------------- http://www.zacay.se/image/ Expected result: ---------------- White antialias lines on fully transparent png created by GD. Actual result: -------------- White lines that have the antialias colored as fully white or a bit black. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34357&edit=1