I'm trying to use the GD Library in PHP to change the color of an image in PHP. On my local server, it works ok, but when I upload my files to my zyic website, I get the following error:
Fatal error: Call to undefined function imagefilter() in /www/uuuq.com/s/k/a/skatana/htdocs/demo/twinkling/index.php on line 221
Here is my code:
CODE
<?php
$im = imagecreatefrompng('images/arrow.png');
imagefilter($im, IMG_FILTER_COLORIZE, 0, 255, 0);
imagepng($im, 'images/arrowf.png');
imagedestroy($im);
?>
$im = imagecreatefrompng('images/arrow.png');
imagefilter($im, IMG_FILTER_COLORIZE, 0, 255, 0);
imagepng($im, 'images/arrowf.png');
imagedestroy($im);
?>
I've verified with .phpinfo(); and it seems like GD library is installed.
Could someone tell me why its not working?
Thanks
