ID: 27918 Updated by: [EMAIL PROTECTED] Reported By: zia_roshni at hotmail dot com -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: windows 2000 server PHP Version: 4.3.5 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. . Previous Comments: ------------------------------------------------------------------------ [2004-04-08 07:18:01] zia_roshni at hotmail dot com Description: ------------ i m trying to use imgarecreate function... and i think there is no problem in gd... plz tell me soon about this problem i m waiting Reproduce code: --------------- Header('Content-Type: image/jpg'); $image = ImageCreate(100 , 100); $black = ImageColorAllocate($image, 0 , 0 , 0); $white = ImageColorAllocate($image, 255 , 255 , 255); ImageLine($image, 0, 0, 99, 99, $black); ImageJPEG($image); ImageDestroy($image); Expected result: ---------------- i m trying this code and i expected the resulted page has a black line Actual result: -------------- but the output is like this... JFIF>CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), default quality C $.' ",#(7),01444'9=82<.342C 2!!22222222222222222222222222222222222222222222222222dd" ĵ}!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ĵw!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27918&edit=1