Page 1 of 1

Problem using imagefilter() function

Posted: Thu Feb 09, 2006 4:34 pm
by stonerman
I've been using some of the GD functions to manipulate and save images.

Everything has been working fine....except now I want to apply a filter using the imagefilter() function and I get an error that states the function is not defined.

For the life of me I can't figure out why all the other functions I used work except this one. Is there an include I should be adding to make sure that function is available?

I'm developing it on a GoDaddy hosting account. Their Linux box is running version 2.0.28 of the GD lib.

Thanks for any ideas.

-- Stumped --

Posted: Thu Feb 09, 2006 4:36 pm
by feyd
imagefilter() is a php 5 function.

Posted: Wed Mar 15, 2006 9:50 am
by Pierre.gd
See this post for examples, and yes it is only for PHP5:

http://blog.thepimp.net/index.php/2005/ ... n-gd-51x-2