#24612 [NEW]: Getimagesize fails on IM 5.4.6 created jpegs
| From: | pekka at studio-on-the dot net | Date: | Fri, 11 Jul 2003 20:33:22 +0000 |
| Subject: | #24612 [NEW]: Getimagesize fails on IM 5.4.6 created jpegs | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-43782@lists.php.net to get a copy of this message | ||
From: pekka at studio-on-the dot net
Operating system: Windows XP Professional SP1
PHP version: 4.3.2
PHP Bug Type: GetImageSize related
Bug description: Getimagesize fails on IM 5.4.6 created jpegs
Description:
------------
Code snippet http://www.exhibitserver.com/getimagesizetest.php
works
perfectly on Linux/apache (PHP 4.2.2), but in Windows XP/Apache/PHP 4.3.2
even 1000 times is not always enough to get some data back from the
function. Mostly it needs between 0 and 200 retries before it gets some
data into array.
I have found that this happens and has something to do ONLY with
ImageMagick Mogrify created JPGS (Version: @(#)ImageMagick 5.4.6 06/01/02
Q:8). See aforementioned demo for test image url.
Reproduce code:
---------------
http://www.exhibitserver.com/getimagesizetest.php
Expected result:
----------------
try 0: | 0:110 | 1: 73 | 2: 2 | 3: width="110" height="73"|
Actual result:
--------------
nothing,
or
try 0: | 0:110 | 1: 73 | 2: 2 | 3: width="110" height="73"|
--
Edit bug report at http://bugs.php.net/?id=24612&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24612&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24612&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=24612&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24612&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24612&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24612&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24612&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24612&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24612&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24612&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24612&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24612&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24612&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24612&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24612&r=gnused