note 50545 deleted from function.imagecreatefromjpeg by cmb
| From: | cmb@php.net | Date: | Sun, 11 Dec 2016 11:19:27 +0000 |
| Subject: | note 50545 deleted from function.imagecreatefromjpeg by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208513@lists.php.net to get a copy of this message | ||
Note Submitter: dmf four one fiive at yahoo dot com
----
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.