Bug #14579 Updated: ImageTypes() returns no supported Image Types
| From: | alex dot killing at gmx dot de | Date: | Tue, 12 Feb 2002 16:09:00 +0000 |
| Subject: | Bug #14579 Updated: ImageTypes() returns no supported Image Types | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-197@lists.php.net to get a copy of this message | ||
ID: 14579
Updated by: alex.killing@gmx.de
Reported By: alex.killing@gmx.de
-Status: Closed
+Status: Open
Bug Type: GD related
Operating System: RedHat6.2
PHP Version: 4.1.0
New Comment:
Sorry for the late feedback. No Error after removing the @. Reopened.
Previous Comments:
------------------------------------------------------------------------
[2002-01-09 02:10:22] lobbin@php.net
No feedback. Closing.
------------------------------------------------------------------------
[2001-12-19 08:56:58] sander@php.net
Remove the @ before ImageTypes. Does it print a error now?
------------------------------------------------------------------------
[2001-12-18 09:39:49] alex.killing@gmx.de
gd1.3/PHP4.1.0
[...]
$im_types = @ImageTypes();
if(empty($im_types))
{
echo "Error";
}
else
{
if($im_types & IMG_JPG)
{
[...]
-> Error is echoed.
php_info() says:
GD support enabled
GD version between 1.3 and 1.6.1
GIF Read Support enabled
GIF Create Support enabled
The same script with PHP4.0.3pl1 and PHP4.0.6 acts as expected.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=14579&edit=1