#39918 [NEW]: imagecreatefromjpeg doesn't work
| From: | hnthanhphong at yahoo dot com | Date: | Thu, 21 Dec 2006 02:34:33 +0000 |
| Subject: | #39918 [NEW]: imagecreatefromjpeg doesn't work | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-106712@lists.php.net to get a copy of this message | ||
From: hnthanhphong at yahoo dot com
Operating system: Linux
PHP version: 5.2.0
PHP Bug Type: GD related
Bug description: imagecreatefromjpeg doesn't work
Description:
------------
I use PHP 5.2 and GD version bundled (2.0.28 compatible). When I use
function imagecreatefromjpeg to create a thumbnail but it doesn't work
with only one jpeg file. I don't know why?
You can get this jpeg file from http://www.vietmy.com.vn/tmp/test.jpg
Actual result:
--------------
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg,
libjpeg: recoverable error: Corrupt JPEG data: 321 extraneous bytes before
marker 0xd9 in C:\Source\lib\lib.php on line 129
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]:
'C:\ModelMayhem\Source/userphotos/8_48_R.JPG' is not a valid JPEG file in
C:\Source\lib\lib.php on line 129
--
Edit bug report at http://bugs.php.net/?id=39918&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39918&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39918&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39918&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39918&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39918&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39918&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39918&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39918&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39918&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39918&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39918&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39918&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39918&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39918&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39918&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39918&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39918&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39918&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39918&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39918&r=mysqlcfg