• Welcome to Valhalla Legends Archive.
 

ImageGif() function

Started by CrAz3D, May 10, 2004, 09:49 PM

Previous topic - Next topic

CrAz3D

<?php
if (($img ImageCreateFromGif("images/logo.gif")) == "")
{    
echo 
"Error - Could not open image. Arghh!";
exit;
}

$red ImageColorAllocate($img25500);
ImageString($img300$text$red);

header("Content-type: image/gif");
ImageGif($img);
?>


This code works for jpeg images, but it does not for gif images.  The error I receive is:Call to undefined function:  imagegif()

From what I can see everything looks correct...any help is appreciated.
rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...

j0k3r

QuoteAnyone attempting to generate random numbers by deterministic means is, of course, living in a state of sin
John Vo