#43243 [Opn->Bgs]: trying to distinguish pngs from 32bit pngs

From: Date: Mon, 12 Nov 2007 09:46:40 +0000
Subject: #43243 [Opn->Bgs]: trying to distinguish pngs from 32bit pngs
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-119494@lists.php.net to get a copy of this message
ID: 43243 Updated by: tony2001@php.net Reported By: wesley dot gunn at email dot it -Status: Open +Status: Bogus Bug Type: GetImageSize related Operating System: Windows XP Pro PHP Version: 5.2.5 New Comment: The function returns what's writtern in the file itself. If it says 8bit, we can't fix it. Previous Comments: ------------------------------------------------------------------------ [2007-11-11 20:46:53] wesley dot gunn at email dot it i mean [bits] => 8 [bits] => 16 [bits] => 24 [bits] => 32 ------------------------------------------------------------------------ [2007-11-11 15:08:47] derick@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2007-11-11 11:26:32] wesley dot gunn at email dot it 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 this bug report at http://bugs.php.net/?id=43243&edit=1

« previous php.bugs (#119494) next »