note 50545 added to function.imagecreatefromjpeg

From: Date: Thu, 03 Mar 2005 00:08:46 +0000
Subject: note 50545 added to function.imagecreatefromjpeg
Groups: php.notes 
Request: Send a blank email to php-notes+get-85835@lists.php.net to get a copy of this message
Another thing to note, is the file not might actually be a jpeg , even though the filename ends in .jpg. If this is the case the command won't work. You will need imagecreatefromgif() The easiest way to check is to use your favorite editor like vi. On Line one it will tell you if its a gif or a jpg.. I took a quick look at a few image files. the gifs say GIF87a and the real jpegs should say JFIF or something like that. ---- Manual Page -- http://www.php.net/manual/en/function.imagecreatefromjpeg.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+50545 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50545&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50545&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50545&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50545&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50545&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+50545&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#85835) next »