note 7723 deleted from ImageCreateFromGIF by ronabop
| From: | ronabop@php.net | Date: | Sat, 12 Aug 2000 22:19:03 +0000 |
| Subject: | note 7723 deleted from ImageCreateFromGIF by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1685@lists.php.net to get a copy of this message | ||
Could somebody help me!! Pleasee!!
I want to create a graphic file from Gif image with the following "function LoadGif ($imgname)
{
$im = @ImageCreateFromGIF ($imgname); /* Attempt to open */
if (!$im) { /* See if it failed */
$im = ImageCreate (150, 30); /* Create a blank image */
$bgc = ImageColorAllocate ($im, 255, 255, 255);
$tc = ImageColorAllocate ($im, 0, 0, 0);
ImageFilledRectangle ($im, 0, 0, 150, 30, $bgc);
/* Output an errmsg */
ImageString($im, 1, 5, 5, "Error loading $imgname", $tc); }
return $im;}" but i see only error "Fatal error: Call to undefined function:
imagecreate() in ...". Please help me!! Thanks.