#33440 [Opn->Bgs]: the returned image size is incorrect sometimes
| From: | tony2001@php.net | Date: | Thu, 23 Jun 2005 08:57:51 +0000 |
| Subject: | #33440 [Opn->Bgs]: the returned image size is incorrect sometimes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-80880@lists.php.net to get a copy of this message | ||
ID: 33440
Updated by: tony2001@php.net
Reported By: ysu at ysumail dot com
-Status: Open
+Status: Bogus
Bug Type: GetImageSize related
Operating System: windows XP
PHP Version: 5.0.4
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Full stop.
Since when does getimagesize() report *physical* size of the image?
Previous Comments:
------------------------------------------------------------------------
[2005-06-23 10:52:36] ysu at ysumail dot com
Thx I'm ok, I simply use filesize() and replaced the size value with
that. It reports correct values and the other parameters are correct
(width/height/type).
I just thought someone might want to take a closer look.
------------------------------------------------------------------------
[2005-06-23 10:48:01] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-06-23 02:42:27] ysu at ysumail dot com
Description:
------------
It seems this feature is not very reliable reporting the size of the
image.
The dimensions are always correct, but the physical size is sometimes
reported 2 incorrectly. It happens with specific images. Here's one:
http://www.ysumail.net/test/isu1s.jpg
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33440&edit=1