#28737 [Opn->Bgs]: Call to undefined function: imageistruecolor()
| From: | derick@php.net | Date: | Fri, 11 Jun 2004 07:09:52 +0000 |
| Subject: | #28737 [Opn->Bgs]: Call to undefined function: imageistruecolor() | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969361287@lists.php.net to get a copy of this message | ||
ID: 28737
Updated by: derick@php.net
Reported By: p00p00 at hotmail dot com
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: w2k
PHP Version: 4.3.4
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
.
Previous Comments:
------------------------------------------------------------------------
[2004-06-11 04:56:56] p00p00 at hotmail dot com
Description:
------------
I tried to use the imageistruecolor() function, but it didn't work, the
errormessage PHP returned was:
Fatal error: Call to undefined function: imageistruecolor() in
...etc...
I checked the documentation and it said (PHP 4 >= 4.3.2, PHP 5), and i
have 4.3.4
Reproduce code:
---------------
Header("Content-type: image/jpeg");
$im = imagecreatefromjpeg("test.jpg");
imageinterlace($im, 1);
//Imagejpeg($im,'',100);
print imageistruecolor($im);
ImageDestroy($im);
Expected result:
----------------
boolean (i think 0 since test.jpg is not true color i think, not sure,
thats why i wanted to use this function in the first place :-))
Actual result:
--------------
<br />
<b>Fatal error</b>: Call to undefined function: imageistruecolor() in
<b>c:\webserver\htdocs\test.php</b> on line <b>10</b><br />
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28737&edit=1