note 21548 added to function.imagejpeg

From: Date: Thu, 16 May 2002 16:41:34 +0000
Subject: note 21548 added to function.imagejpeg
Groups: php.notes 
Request: Send a blank email to php-notes+get-30725@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 ? -- http://www.php.net/manual/en/function.imagejpeg.php http://master.php.net/manage/user-notes.php?action=edit+21548 http://master.php.net/manage/user-notes.php?action=delete+21548 http://master.php.net/manage/user-notes.php?action=reject+21548

« previous php.notes (#30725) next »