From: | arun kv <arun(at)library(dot)iisc(dot)ernet(dot)in> |
---|---|
To: | PGSQL <pgsql-php(at)postgresql(dot)org> |
Subject: | Image processing using PHP |
Date: | 2002-10-08 10:27:02 |
Message-ID: | Pine.BSO.4.44.0210081551200.1643-100000@library.iisc.ernet.in |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
hai,
I am using the code :
<?php
Header("Content-type: image/jpeg");
$image = ImageCreate(200,150);
$black = ImageColorAllocate($image,204,204,204);
$blue = ImageColorAllocate($image,0,0,255);
ImageLine($image,10,10,150,30,$blue);
ImageJPEG($image);
ImageDestroy($image);
?>
to generate and image and i am getting problems in displaying the
same.when execute this script i don't get either error or image.is the
code correct or should i add something to support this.
i am using openBSD m/c and php is running on this.Some book suggested me
abt GD library.how do i check whether that is present in the machine.any
other alternative for this.
pls help in this matter.
hoping for a positive reply
Arun
From | Date | Subject | |
---|---|---|---|
Next Message | Cornelia Boenigk | 2002-10-08 10:58:52 | Re: Image processing using PHP |
Previous Message | Devrim GUNDUZ | 2002-10-04 18:55:47 | Re: Connecting PostgreSQL db using Pear |