note 63132 added to function.imagecreatefromjpeg
| From: | thoraxx at hot dot ping dot de | Date: | Tue, 14 Mar 2006 10:21:36 +0000 |
| Subject: | note 63132 added to function.imagecreatefromjpeg | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-105773@lists.php.net to get a copy of this message | ||
It seems not be possible to catch the warning "Premature end of JPEG file" if I open a
cropped jpeg file with imagecreatefromjpeg.
The result is not false and the image is processed for the part being in the damaged file.
I build thumbs from source files and have some files, that are not fully transfered. After
processing I have thumbs that contain only a part of the image.
Bug? Feature? Any ideas for a workaround?
----
Server IP: 66.163.161.117
Probable Submitter: 212.202.226.137
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.imagecreatefromjpeg.php
Edit -- http://master.php.net/note/edit/63132
Del: integrated -- http://master.php.net/note/delete/63132/integrated
Del: useless -- http://master.php.net/note/delete/63132/useless
Del: bad code -- http://master.php.net/note/delete/63132/bad+code
Del: spam -- http://master.php.net/note/delete/63132/spam
Del: non-english -- http://master.php.net/note/delete/63132/non-english
Del: in docs -- http://master.php.net/note/delete/63132/in+docs
Del: other reasons-- http://master.php.net/note/delete/63132
Reject -- http://master.php.net/note/reject/63132
Search -- http://master.php.net/manage/user-notes.php