#27918 [Opn->Bgs]: problem in imagecreate function
| From: | derick@php.net | Date: | Thu, 08 Apr 2004 12:49:25 +0000 |
| Subject: | #27918 [Opn->Bgs]: problem in imagecreate function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-57776@lists.php.net to get a copy of this message | ||
ID: 27918
Updated by: derick@php.net
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<.342ÿÛC
2!!22222222222222222222222222222222222222222222222222ÿÀdd"ÿÄ
ÿĵ}!1AQa"q2¡#B±ÁRÑð$3br
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz
¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ
ÿĵw!1AQaq"2B¡±Á #3RðbrÑ
$4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz
¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ
?ùþ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( (
( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( (
( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ÿÙ ?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27918&edit=1