note 40455 deleted from function.imagecreate by irchtml
| From: | irchtml@php.net | Date: | Thu, 04 Mar 2004 10:52:23 +0000 |
| Subject: | note 40455 deleted from function.imagecreate by irchtml | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-66231@lists.php.net to get a copy of this message | ||
Note Submitter: Mad_Mike
----
Hi there,
While trying this:
<?php
header("Content-type: image/png");
$im = imagecreate(50, 100)
or die("Cannot Initialize new GD image stream");
$background_color = imagecolorallocate($im, 255, 255, 255);
$text_color = imagecolorallocate($im, 233, 14, 91);
imagestring($im, 1, 5, 5, "A Simple Text String", $text_color);
imagepng($im);
imagedestroy($im);
?>
i get the error of the unknown function... But in php.ini stnads ;extension=php_gd2.dll so that must
be ok? What could be wrong?