Re: error using imagecreate function

From: Date: Wed, 25 Jul 2001 12:36:08 +0000
Subject: Re: error using imagecreate function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-59529@lists.php.net to get a copy of this message
This is the code just a normal imagecreate function <?php file://draw1.php Header("Content-type: image/jpeg"); $image = ImageCreate(200,150); $gray = ImageColorAllocate($image,204,204,204); $blue = ImageColorAllocate($image,0,0,255); ImageLine($image,10,10,150,30,$blue); ImageJPEG($image); ImageDestroy($image); ?> I think the fault is that i don't use the gd library but i don't know how i must install it on my NT 4.0 apache 1.3.2 server

« previous php.general (#59529) next »