ID: 41940 Updated by: [EMAIL PROTECTED] Reported By: paul dot yarkov at gmail dot com -Status: Open +Status: Assigned Bug Type: GD related Operating System: Windows 2000 SP4 PHP Version: 5.2.3 -Assigned To: +Assigned To: pajoye New Comment:
"imageline() STILL doesn't honor imagesetthickness() settings." There is no need to be loud or to write UPPERCASE. I can read normal texts :) "Note: It's not a bug #40764! It's ANOTHER bug and ANOTHER OS used!" OS has nothing to do with that. Interesting that nobody noticed (incl. me) before. But the thickness was only half of what it should be since ages. I'm adding it as a test to solve this problem once and for all. Previous Comments: ------------------------------------------------------------------------ [2007-07-09 14:44:29] paul dot yarkov at gmail dot com Description: ------------ imageline() STILL doesn't honor imagesetthickness() settings. Note: It's not a bug #40764! It's ANOTHER bug and ANOTHER OS used! Reproduce code: --------------- <?php $image=imagecreatetruecolor(400, 400); $white = imagecolorallocate($image, 255, 255, 255); $black = imagecolorallocate($image, 0, 0, 0); imagefill($image, 0, 0, $white); imagesetthickness($image, 10); imageline($image, 200, 0, 200, 400, $black); imageline($image, 0, 200, 400, 200, $black); imageline($image, 0, 0, 400, 400, $black); imageline($image, 0, 400, 400, 0, $black); header("Content-type: image/png"); header("Cache-Control: no-cache;"); imagepng($image); imagedestroy($image); ?> Expected result: ---------------- This should draw four lines, all 10 pixels thick. Actual result: -------------- Only the vertical and horizonal lines is the correct thickness. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41940&edit=1