ID: 41940 User updated by: paul dot yarkov at gmail dot com Reported By: paul dot yarkov at gmail dot com Status: Assigned Bug Type: GD related Operating System: Windows 2000 SP4 PHP Version: 5.2.3 Assigned To: pajoye New Comment:
There is no need to be loud or to write UPPERCASE. I can read normal texts :) Sorry for UPPERCASE, I was tired a lot of warnings about this bug is probably fixed. :) 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. This bug is noticeable only when angles between lines are divisible 45 degrees. Previous Comments: ------------------------------------------------------------------------ [2007-07-09 14:51:38] [EMAIL PROTECTED] "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. ------------------------------------------------------------------------ [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