[PHP] Re: error using imagecreate function

2001-07-25 Thread venomous
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);

Re: [PHP] Re: error using imagecreate function

2001-07-25 Thread David Robley
On Wed, 25 Jul 2001 22:06, venomous wrote: 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);