ID: 28737 Updated by: [EMAIL PROTECTED] 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