#34357 [Opn->Bgs]: BG alpha value is counted for when drawing antialias lines on transparent pics

From: Date: Sat, 03 Sep 2005 10:59:50 +0000
Subject: #34357 [Opn->Bgs]: BG alpha value is counted for when drawing antialias lines on transparent pics
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-84463@lists.php.net to get a copy of this message
ID: 34357 Updated by: pajoye@php.net Reported By: zakay at danial dot se -Status: Open +Status: Bogus Bug Type: GD related Operating System: Gentoo Linux, OS X, Windows XP PHP Version: 5.0.4 -Assigned To: +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 Your background is white, whether it is full transparent or not is not really relevant. White on white does not use any blending method. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#84463) next »