Re: imagecreatefromjpeg() problems
| From: | J-K | Date: | Sun, 17 Aug 2003 21:17:37 +0000 |
| Subject: | Re: imagecreatefromjpeg() problems | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159862@lists.php.net to get a copy of this message | ||
Hi Jaap!
Thanks for your answer, but I checked phpinfo() and it says: JPG Support
Enabled
Any ideas?
The images are photo-like so png would make them too big.
Best regards
Jan-Kristian Markiewicz
"Jaap Van Ganswijk" <ganswijk@xs4all.nl> skrev i melding
news:5.1.0.14.0.20030816235709.02aa2ad0@localhost...
> At 2003-08-16 14:35 +0200, J-K wrote:
> >I've made a little script to make thumbnails which worked before the
> >summer, but now I get this errormessage:
> >
> ><b>Fatal error</b>: Call to undefined function:
> >imagecreatefromjpeg() in
> ><b>/usr/local/others/www.stud.users/mark/gfx/create_tn.php</b> on line
> ><b>15</b>
> >
> >First I thought they had done something with the servers, because I
> >haven't touched the code. But I checked the GD-version and got this:
> > GD Version: bundled (2.0.12 compatible)
> >
> > Shouldn't version 2.0.12 support imagecreatefromjpeg()?
>
> Only when jpeg support has been compiled into
> the PHP version that is running on your system.
> It doesn't seem to be.
>
> >Is there any way I can get around this?
>
> Try if png support is enabled. But you'd have
> to convert your jpeg's I guess and png's are
> probably much bigger because they are
> non-lossy (?). But it depends on your images
> being photo-like and not drawing-like.
>
> Otherwise you'll have to ask your system
> manager to fix the problem.
>
> BTW. you shouldn't indent paragraphs in emails,
> because it makes quoting them very messy, or
> the person answering your mail has to edit out
> the indentations (as I have done above).
>
> Greetings,
> Jaap
>