ID:               17526
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
-Bug Type:         *Graphics related
+Bug Type:         *General Issues
 Operating System: Linux 2.4.18
 PHP Version:      4.2.1
 New Comment:

Sorry, but the bug system is not the appropriate forum for asking
support questions. 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

Thank you for your interest in PHP.

Check the error_log for the reason why it's broken. This is not related
to GD at all.



Previous Comments:
------------------------------------------------------------------------

[2002-05-30 09:54:51] [EMAIL PROTECTED]

This worked just fine in version 4.1.2. There is just an broken image
on the webpage.

Here is the code i'm using.

<?
Header ("Content-type: image/jpeg");
$im = ImageCreate(800,70) or die ("Cannot initialize GD library");
$white = ImageColorAllocate ($im, 255, 255, 255);
$blue = ImageColorAllocate ($im, 48, 100, 152);
ImageTTFText ($im, 42, 0, 0, 58, $blue,
"/usr/share/fonts/ttf/verdana.ttf", "$agitext");
ImageJpeg ($im, "", 95) or die ("Cannot create image");
$filepath ="./agi";
$filename = "agi.jpg";
ImageJpeg ($im, "$filepath/$filename", 95);
ImageDestroy ($im);
?>


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=17526&edit=1

Reply via email to