ID: 26688
Updated by: [EMAIL PROTECTED]
Reported By: paul at i3 dot co dot uk
-Status: Open
+Status: Feedback
Bug Type: GetImageSize related
Operating System: slackware
PHP Version: 4.3.4
New Comment:
Please provide the bmp file in question.
Previous Comments:
------------------------------------------------------------------------
[2003-12-22 06:33:11] paul at i3 dot co dot uk
Description:
------------
Contrary to 4.3.4 change log
Fixed width/height detection of bmp images using
getimagesize() function on big endian systems and added
code to retrieve bmp bit depth. (Ilia)
I still receive incorrect output when querying a local
.bmp.
Expected result:
----------------
When queried with imagemagick identify verbose returns
Image: example.bmp
Format: BMP (Microsoft Windows bitmap image)
Geometry: 800x560
Class: DirectClass
Type: true color
Depth: 8 bits-per-pixel component
Colors: 56670
Filesize: 1312kb
Interlace: None
Background Color: white
Border Color: #dfdfdf
Matte Color: grey74
Iterations: 0
Compression:
signature:
6b89fd02035b663968e3a0f127da0c0dc5e940e060446a21c40cb330
f0bbc5ce
Tainted: False
User Time: 0.0u
Elapsed Time: 0:01
Tested with 20 or so similar sized bmp file same problem
occurs.
Actual result:
--------------
files output using getimagesize returns
array(5) {
[0]=>
int(36700960)
[1]=>
int(1572865)
[2]=>
int(6)
[3]=>
string(33) "width="36700960" height="1572865""
["mime"]=>
string(9) "image/bmp"
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26688&edit=1