Re: imagecreatefromjpeg: "No JPEG support in this php build"
| From: | Matt McClanahan | Date: | Sun, 19 Nov 2000 19:40:52 +0000 |
| Subject: | Re: imagecreatefromjpeg: "No JPEG support in this php build" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26149@lists.php.net to get a copy of this message | ||
On Sun, 19 Nov 2000, Marc Swanson wrote:
> Hello,
>
> I've been wrestling with different compile options trying to get the subject
> message to go away whenever I try to use the imagecreatefromjpeg function..
> It appears that I was supposed to compile with gd support so I tried that
> but couldn't seem to find the directory where my gd library is installed
> (redhat 6.2). I was hoping just compiling php with --with-gd would be
> enough but I guess not. This is with php 4.0.2, gd 1.3-6, apache 1.3.12.
> There was also a user comment on the php manual page for imagecreatefromjpeg
> that suggested using --with-jpeg-dir but that didn't seem to help either.
gd 1.3 doesn't have jpeg support. For that, you'd need 1.6.something or
higher, but it's best to just go with 1.8.3, the current version. The
only reason RedHat keeps 1.3 around is because that was the last version
to have gif support.
Matt