ID:               35971
 Updated by:       [EMAIL PROTECTED]
 Reported By:      sindhu at cypherminds dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         GD related
 Operating System: Linux
 PHP Version:      4.4.1
 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.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

It's a PHP 5 only function, which is written in the documentation at
http://php.net/image_filter


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

[2006-01-11 13:10:36] sindhu at cypherminds dot com

Description:
------------
I have created a photo management website, using php 5 on my local
server. It consists of code for image manipulations too.  It worked
perfect on my local server but once I uploaded to Linux server with php
4.4, it gives me errors...
Fatal error: call to undefined function imagefilter().

phpinfo shows that the GD library is enabled.  Am not able to find a
solution to this anywhere.  Can someone here help me?


Reproduce code:
---------------
$imgsrc = imagecreatefromjpeg($tempImagePath);//source image path

if ($imgsrc && imagefilter($imgsrc, IMG_FILTER_GRAYSCALE)) {
    $imgsrc = imagejpeg($imgsrc, $tempImagePath);
}

Expected result:
----------------
the source image should get convert to grayscale

Actual result:
--------------
Fatal error: Call to undefined function: imagefilter() 


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


-- 
Edit this bug report at http://bugs.php.net/?id=35971&edit=1

Reply via email to