Re: GD, ImageCreate(), ImageCreateFromJPEG()
| From: | (Richard Lynch) | Date: | Fri, 09 Jun 2000 22:05:49 +0000 |
| Subject: | Re: GD, ImageCreate(), ImageCreateFromJPEG() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1467@lists.php.net to get a copy of this message | ||
In article <393E522D.A1A988C0@jWebMedia.com>, joe@jWebMedia.com (Joe
Koenig) wrote:
> I'm new to all of the GD stuff and am unable to get
> ImageCreateFromJPEG() to work. if I do a phpinfo() it says gd: Version
> 1.6 or later, FreeType Support. Here's a snippet of my code:
>
> $image_name = "pics/database/articles/1.jpg";
> $src = ImageCreateFromJpeg($image_name);
>
> If I call it like this, I get a "Call to unsupported function..." error
You probably left off --with-jpeg-lib when you did ./configure...
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)