note 21548 deleted from function.imagejpeg by torben
| From: | torben@php.net | Date: | Thu, 16 May 2002 19:41:03 +0000 |
| Subject: | note 21548 deleted from function.imagejpeg by torben | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-30730@lists.php.net to get a copy of this message | ||
Every time with every jpg file I try I get the following error :
Warning: imagecreatefromjpeg: 'filename.jpg' is not a valid JPEG file
How can this be. I compiled php with gd2.0.1 and libpng og jpeglib !:
./configure --with-gd=shared,/users/myname/gd-2.0.1 --with-mysql=shared,/mysql-path
--with-apache=/apache-path --with-config-file-path=/phpserver-path --with-zlib
--with-zlib=/usr/local
--with-png
--with-png-dir=/usr/local
--with-jpeg
--with-jpeg-dir=/usr/local
--enable-track-vars --prefix=/phpserver-path
This function won't work properly along with imagecreatetruecolor, but everything else is just
fine and dandy - and I NEED 16.7 mill. colors - so any hints ?