From: zakay at danial dot se Operating system: Gentoo Linux, OS X, Windows XP PHP version: 5.0.4 PHP Bug Type: GD related Bug description: BG alpha value is counted for when drawing antialias lines on transparent pics
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 bug report at http://bugs.php.net/?id=34357&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34357&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34357&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34357&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34357&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34357&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34357&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34357&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34357&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34357&r=support Expected behavior: http://bugs.php.net/fix.php?id=34357&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34357&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34357&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34357&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34357&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34357&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34357&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34357&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34357&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34357&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34357&r=mysqlcfg