#43243 [NEW]: trying to distinguish pngs from 32bit pngs
| From: | wesley dot gunn at email dot it | Date: | Sun, 11 Nov 2007 11:26:32 +0000 |
| Subject: | #43243 [NEW]: trying to distinguish pngs from 32bit pngs | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-119436@lists.php.net to get a copy of this message | ||
From: wesley dot gunn at email dot it
Operating system: Windows XP Pro
PHP version: 5.2.5
PHP Bug Type: GetImageSize related
Bug description: trying to distinguish pngs from 32bit pngs
Description:
------------
I don't know it is a real bug.. but i can't find nothing about this
when i try to get 32-bit png i get this array (read down)
maybe it's wrong, maybe not, i hope in your lightning reply
in case of not i'm sorry for your lost time
thanks in advance
Reproduce code:
---------------
$test = getimagesize("image.png");
print_r($test);
Actual result:
--------------
Array
(
[0] => 1280
[1] => 768
[2] => 3
[3] => width="1280" height="768"
[bits] => 8
[mime] => image/png
)
--
Edit bug report at http://bugs.php.net/?id=43243&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43243&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43243&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43243&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43243&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43243&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=43243&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=43243&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=43243&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=43243&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=43243&r=support
Expected behavior: http://bugs.php.net/fix.php?id=43243&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=43243&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=43243&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43243&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43243&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43243&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=43243&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=43243&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=43243&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=43243&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=43243&r=mysqlcfg