From:             [EMAIL PROTECTED]
Operating system: FreeBSD 4.6-STABLE
PHP version:      4.3.6
PHP Bug Type:     GetImageSize related
Bug description:  getimagesize return incorect width & height

Description:
------------
Image: http://young.org.ua/image.gif

PHP code:
<?php
print_r(getimagesize("image.gif"));
?>

Result:
Array
(
    [0] => 128
    [1] => 128
    [2] => 1
    [3] => width="128" height="128"
    [bits] => 8
    [channels] => 3
    [mime] => image/gif
)


Image Magic info:
im40a9f63a60720_2.gif GIF 80x124+24+4 PseudoClass 256c 8-bit 11.8k 0.0u
0:01

AcdSee info:
80x124

Wich information about image size is correct?
And why i get this difference?



-- 
Edit bug report at http://bugs.php.net/?id=28432&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28432&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28432&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28432&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28432&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28432&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28432&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28432&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28432&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28432&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28432&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28432&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28432&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28432&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28432&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28432&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28432&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28432&r=float

Reply via email to