ID:               28737
 Updated by:       [EMAIL PROTECTED]
 Reported By:      p00p00 at hotmail dot com
-Status:           Assigned
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: w2k
 PHP Version:      4.3.4
 Assigned To:      nlopess
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.


Previous Comments:
------------------------------------------------------------------------

[2004-06-11 10:04:10] [EMAIL PROTECTED]

You need GD 2.
I'll add a note in the manual.

------------------------------------------------------------------------

[2004-06-11 09:09:51] [EMAIL PROTECTED]

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.

.

------------------------------------------------------------------------

[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

Reply via email to